Creates the vector sum of this vector and the given one (must be equal
sized).
Sets the value of this vector to sum of itself and the specified vector
Linearly interpolates this vector to the target vector and places the
result into a new instance: result = this + (target-this)*alpha.
Linearly interpolates this vector to the target vector and places result
in this vector.
Scales this vector by the scale factor s and returns result as new
vector.
Scales the values of this vector with the values of the given vector
vector (this = this * vector).
Scales this vector by the scale factor s.
Scales the values of this vector with the values of the given vector
vector (this = this * vector).
GVector.set(double[] vector)
Sets the values of this vector to the values found in the array
parameter.
Sets the value of this vector to the values found in vector vector.
Sets the value of this vector to the values in tuple
Sets the value of this vector to the values in tuple
Sets the value of this vector to the values in tuple
Modifies the value at the specified index of this vector.
Changes the size of this vector dynamically.
Creates the vector difference of this vector and the given one (must be
equal sized).
Sets the value of this vector to the vector difference of itself and
vector (this = this - vector).
Sets all the values in this vector to zero.
Creates the vector sum of this vector and the given one (must be equal
sized).
Sets the value of this vector to sum of itself and the specified vector
final double
Returns the (n-space) angle in radians between this vector and the vector
parameter; the return value is constrained to the range [0,PI].
final void
LU Decomposition Back Solve; this method takes the LU matrix and the
permutation vector produced by the GMatrix method LUD and solves the
equation (LU)*x = b by placing the solution vector x into this vector.
final void
Solves for x in Ax = b, where x is this vector (nx1), A is mxn, b is mx1,
and A = U*W*transpose(V); U,W,V must be precomputed and can be found by
taking the singular value decomposition (SVD) of A using the method SVD
found in the GMatrix class.
final int
LU Decomposition: this matrix must be a square matrix and the LU GMatrix
parameter must be the same size as this matrix.
final double
Returns the dot product of this vector and vector v.
boolean
Returns true if all of the data members of GVector vector1 are equal to
the corresponding data members in this GVector.
boolean
Returns true if the L-infinite distance between this vector and vector v
is less than or equal to the tolerance parameter, otherwise returns
false.
final void
Places the values of the specified column into the vector parameter.
final void
Places the values of the specified row into the vector parameter.
Linearly interpolates this vector to the target vector and places the
result into a new instance: result = this + (target-this)*alpha.
Linearly interpolates this vector to the target vector and places result
in this vector.
final void
Computes the outer product of the two vectors; multiplies the the first
vector by the transpose of the second vector and places the matrix result
into this matrix.
final void
Multiplies matrix m1 times Vector v1 and places the result into this
vector (this = m1*v1).
final void
Multiplies the transpose of vector v1 (ie, v1 becomes a row vector with
respect to the multiplication) times matrix m1 and places the result into
this vector (this = transpose(v1)*m1).
Scales the values of this vector with the values of the given vector
vector (this = this * vector).
Scales the values of this vector with the values of the given vector
vector (this = this * vector).
Sets the value of this vector to the values found in vector vector.
final void
Copy the values from the vector into the specified column of this matrix.
final void
Copy the values from the vector into the specified row of this matrix.
Creates the vector difference of this vector and the given one (must be
equal sized).
Sets the value of this vector to the vector difference of itself and
vector (this = this - vector).