|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.lip6.type.MLVector<double[]>
fr.lip6.type.DoubleVector
public class DoubleVector
| Field Summary |
|---|
| Fields inherited from class fr.lip6.type.MLVector |
|---|
eps, length, values |
| Constructor Summary | |
|---|---|
DoubleVector()
|
|
DoubleVector(double[] f)
|
|
| Method Summary | |
|---|---|
MLVector<double[]> |
add(MLVector<double[]> lv)
addition of vectors |
double |
distChi1(MLVector<double[]> lv)
chi² distance with abs() instead of pow() |
double |
distChi2(MLVector<double[]> lv)
Chi² distance between vectors. |
double |
distL2(MLVector<double[]> lv)
L2 distance between the vectors. |
double |
dot(MLVector<double[]> lvector)
return dot product (scalar product) |
MLVector<double[]> |
mult(double d)
multiplicaton par un scalaire. |
MLVector<double[]> |
mult(MLVector<double[]> lv)
multiplication membre à membre |
MLVector<double[]> |
Normalize()
return a Vector colinear to this with norm 1 |
MLVector<double[]> |
NormalizeLocal()
set the norm of this vector to 1 |
MLVector<double[]> |
zero()
return zero of the input space |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DoubleVector()
public DoubleVector(double[] f)
| Method Detail |
|---|
public MLVector<double[]> add(MLVector<double[]> lv)
MLVector
add in class MLVector<double[]>public double dot(MLVector<double[]> lvector)
MLVector
dot in class MLVector<double[]>public double distChi2(MLVector<double[]> lv)
MLVector
distChi2 in class MLVector<double[]>public double distL2(MLVector<double[]> lv)
MLVector
distL2 in class MLVector<double[]>public double distChi1(MLVector<double[]> lv)
MLVector
distChi1 in class MLVector<double[]>public MLVector<double[]> mult(MLVector<double[]> lv)
MLVector
mult in class MLVector<double[]>public MLVector<double[]> mult(double d)
MLVector
mult in class MLVector<double[]>public MLVector<double[]> zero()
MLVector
zero in class MLVector<double[]>public MLVector<double[]> Normalize()
MLVector
Normalize in class MLVector<double[]>public MLVector<double[]> NormalizeLocal()
MLVector
NormalizeLocal in class MLVector<double[]>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||