maltcms.math.functions.similarities
Class ArrayCos

java.lang.Object
  extended by maltcms.math.functions.similarities.ArrayCos
All Implemented Interfaces:
IArraySimilarity

public class ArrayCos
extends Object
implements IArraySimilarity

Cosine similarity between arrays.

Author:
Nils.Hoffmann@cebitec.uni-bielefeld.de

Constructor Summary
ArrayCos()
           
 
Method Summary
 double apply(Array t1, Array t2)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayCos

public ArrayCos()
Method Detail

apply

public double apply(Array t1,
                    Array t2)
Specified by:
apply in interface IArraySimilarity
Returns:


Copyright © 2007-2012. All Rights Reserved.