Returns the addition of this vector and another.
Parameters: v - an integer vector exception: VectorDimensionException - If the vectors are different sizes.
Compares two integer vectors for equality.
Two vectors are considered to be equal if the norm of their difference is zero.
Parameters: obj - an integer vector
Returns a component of this vector.
Parameters: n - index of the vector component exception: VectorDimensionException - If attempting to access an invalid component.
Returns the scalar product of this vector and another.
Parameters: v - an integer vector exception: VectorDimensionException - If the vectors are different sizes.
setComponent
abstractpublic void setComponent(int n, int x)(Code)
Sets the value of a component of this vector.
Parameters: n - index of the vector component Parameters: x - an integer exception: VectorDimensionException - If attempting to access an invalid component.
Returns the subtraction of this vector by another.
Parameters: v - an integer vector exception: VectorDimensionException - If the vectors are different sizes.