public interface Vector extends Normalizable
| Modifier and Type | Method and Description |
|---|---|
void |
add(float coeff,
float vectorCoeff,
Vector vector)
Add a
vector multiplied by vectorCoeff to this
vector multiplied by |
void |
add(float coeff,
Vector vector)
Add a
vector multiplied by coeff to this vector |
void |
add(Vector vector)
Add a
vector to this vector |
Vector |
getZeroVector()
Returns a vector whose values are all 0.
|
float |
innerProduct(Vector vector)
Returns the dot product between this vector and
vector |
getSquaredNorm, normalize, scalegetTextFromData, setDataFromTextfloat innerProduct(Vector vector)
vectorvector - void add(Vector vector)
vector to this vectorvector - the vector to be addedvoid add(float coeff,
Vector vector)
vector multiplied by coeff to this vectorcoeff - the vector coefficientvector - the vector to be addedvoid add(float coeff,
float vectorCoeff,
Vector vector)
vector multiplied by vectorCoeff to this
vector multiplied bycoeff - the coefficient of this vectorvectorCoeff - the vector coefficientvector - the vector to be addedVector getZeroVector()
Copyright © 2014 Semantic Analytics Group @ Uniroma2. All rights reserved.