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