final void
Sets the value of this matrix to sum of itself and matrix m1.
final void
Sets the value of this matrix to the matrix sum of matrices m1 and m2.
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.
static void
final int
Finds the singular value decomposition (SVD) of this matrix such that
this = U*W*transpose(V); and returns the rank of this matrix; the values
of U,W,V are all overwritten.
static int
final void
GMatrix.copySubMatrix(int rowSource,
int colSource,
int numRow,
int numCol,
int rowDest,
int colDest,
GMatrix target)
Copies a sub-matrix derived from this matrix into the target matrix.
boolean
Returns true if the L-infinite distance between this matrix and matrix m1
is less than or equal to the epsilon parameter, otherwise returns false.
boolean
boolean
Returns true if all of the data members of GMatrix m1 are equal to the
corresponding data members in this GMatrix.
final void
Places the values in the this GMatrix into the matrix m1; m1 should be at
least as large as this GMatrix.
final void
Inverts matrix m1 and places the new values into this matrix.
final void
Sets the value of this matrix to the result of multiplying itself with
matrix m1 (this = this * m1).
final void
Sets the value of this matrix to the result of multiplying the two
argument matrices together (this = m1 * m2).
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
Multiplies the transpose of matrix m1 times the transpose of matrix m2,
and places the result into this.
final void
Multiplies the transpose of matrix m1 times matrix m2, and places the
result into this.
final void
Multiplies matrix m1 times the transpose of matrix m2, and places the
result into this.
final void
Sets the value of this matrix equal to the negation of of the GMatrix
parameter.
final void
Sets the value of this matrix to the values found in matrix m1.
final void
Sets the value of this matrix to the matrix difference of itself and
matrix m1 (this = this - m1).
final void
Sets the value of this matrix to the matrix difference of matrices m1 and
m2 (this = m1 - m2).
final void
Places the matrix values of the transpose of matrix m1 into this matrix.