|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.classifier4J.vector.VectorUtils
Constructor Summary | |
VectorUtils()
|
Method Summary | |
static double |
cosineOfVectors(int[] one,
int[] two)
|
static int |
scalarProduct(int[] one,
int[] two)
|
static double |
vectorLength(int[] vector)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VectorUtils()
Method Detail |
public static int scalarProduct(int[] one, int[] two) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static double vectorLength(int[] vector) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static double cosineOfVectors(int[] one, int[] two) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |