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