|
||||||||||
| 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.L1
L1 norm
| Constructor Summary | |
L1()
|
|
| 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 L1()
| Method Detail |
public double norm(Array i)
AbstractMetric
norm in interface Metricnorm in class AbstractMetric
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||