public interface VectConst
extends java.lang.Cloneable, java.io.Serializable
Modifier and Type | Method and Description |
---|---|
Vect |
clone() |
double |
dot(VectConst other)
Return the Cartesian dot product of this vector with another
vector (not including any inverse covariance).
|
double |
magnitude()
This is the dot product of the vector with
itself premultiplied by the inverse covariance.
|
double dot(VectConst other)
other
- The vector to be dotted.double magnitude()
Vect vect = (Vect) this.clone(); vect.multiplyInverseCovariance(); return this.dot(vect);But you can usually avoid the clone.
Vect clone()