Method Summary |
|
abstract public Vector<F> | copy() Returns a copy of this vector
javolution.context.AllocatorContext allocated
by the calling thread (possibly on the stack). |
public Vector<F> | cross(Vector<F> that) Returns the cross product of two 3-dimensional vectors.
Parameters: that - the vector multiplier. |
public boolean | equals(Vector<F> that, Comparator<F> cmp) Indicates if this vector can be considered equals to the one
specified using the specified comparator when testing for
element equality. |
public boolean | equals(Object that) Indicates if this vector is equal to the object specified.
Parameters: that - the object to compare for equality. |
abstract public F | get(int i) Returns a single element from this vector.
Parameters: i - the element index (range [0..n[). |
abstract public int | getDimension() Returns the number of elements held by this vector. |
public int | hashCode() Returns a hash code value for this vector. |
public Vector<F> | minus(Vector<F> that) Returns the difference between this vector and the one specified.
Parameters: that - the vector to be subtracted. |
abstract public Vector<F> | opposite() Returns the negation of this vector. |
abstract public Vector<F> | plus(Vector<F> that) Returns the sum of this vector with the one specified.
Parameters: that - the vector to be added. |
abstract public Vector<F> | times(F k) Returns the product of this vector with the specified coefficient.
Parameters: k - the coefficient multiplier. |
abstract public F | times(Vector<F> that) Returns the dot product of this vector with the one specified.
Parameters: that - the vector multiplier. |
final public String | toString() Returns the text representation of this vector as a
java.lang.String . |
public Text | toText() Returns the text representation of this vector. |