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