|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.nlp.linalg.AbstractMetric | +--edu.stanford.nlp.linalg.L2
L2 norm
Constructor Summary | |
L2()
|
Method Summary | |
double |
norm(Array i)
returns the norm of a vector in this metric |
Methods inherited from class edu.stanford.nlp.linalg.AbstractMetric |
distance, normalize, similarity |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public L2()
Method Detail |
public double norm(Array i)
AbstractMetric
norm
in interface Metric
norm
in class AbstractMetric
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |