Uses of Class
javax.vecmath.GVector
Packages that use GVector
-
Uses of GVector in javax.vecmath
Methods in javax.vecmath with parameters of type GVectorModifier and TypeMethodDescriptionfinal void
Sets the value of this vector to sum of itself and the specified vectorfinal void
Sets the value of this vector to the vector sum of vectors vector1 and vector2.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 double
Returns the dot product of this vector and vector v1.boolean
GVector.epsilonEquals
(GVector v1, double epsilon) Returns true if the L-infinite distance between this vector and vector v1 is less than or equal to the epsilon parameter, otherwise returns false.boolean
Returns true if all of the data members of GVector vector1 are equal to the corresponding data members in this GVector.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.final void
GVector.interpolate
(GVector v1, double alpha) Linearly interpolates between this vector and vector v1 and places the result into this tuple: this = (1-alpha)*this + alpha*v1.final void
GVector.interpolate
(GVector v1, float alpha) Deprecated.the double version of this method should be used.final void
GVector.interpolate
(GVector v1, GVector v2, double alpha) Linearly interpolates between vectors v1 and v2 and places the result into this tuple: this = (1-alpha)*v1 + alpha*v2.final void
GVector.interpolate
(GVector v1, GVector v2, float alpha) Deprecated.the double version of this method should be used.final int
LU Decomposition; this matrix must be a square matrix; the LU GMatrix parameter must be the same size as this matrix.final void
GVector.LUDBackSolve
(GMatrix LU, GVector b, GVector permutation) 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
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).final void
Sets the value of this vector to the normalization of vector v1.final void
Sets the value of this vector to the scalar multiplication of the scale factor with the vector v1.final void
Sets the value of this vector to the scalar multiplication by s of vector v1 plus vector v2 (this = s*v1 + v2).final void
Sets the value of this vector to the values found in vector vector.final void
Copy the values from the array into the specified column of this matrix.final void
Copy the values from the array into the specified row of this matrix.final void
Sets the value of this vector to the vector difference of itself and vector (this = this - vector).final void
Sets the value of this vector to the vector difference of vectors vector1 and vector2 (this = vector1 - vector2).final void
GVector.SVDBackSolve
(GMatrix U, GMatrix W, GMatrix V, GVector b) 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.Constructors in javax.vecmath with parameters of type GVector