|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MatrixMxNf | |
|---|---|
| org.openmali.decomposition | |
| org.openmali.number.matrix | |
| org.openmali.vecmath2 | |
| Uses of MatrixMxNf in org.openmali.decomposition |
|---|
| Methods in org.openmali.decomposition that return MatrixMxNf | |
|---|---|
MatrixMxNf |
EigenvalueDecomposition.getD()
|
MatrixMxNf |
QRDecomposition.getH()
Returns the Householder vectors. |
MatrixMxNf |
CholeskyDecomposition.getL()
Return triangular factor. |
MatrixMxNf |
LUDecomposition.getL()
|
MatrixMxNf |
QRDecomposition.getQ()
|
MatrixMxNf |
QRDecomposition.getR()
|
MatrixMxNf |
SingularValueDecomposition.getS()
|
MatrixMxNf |
LUDecomposition.getU()
|
MatrixMxNf |
SingularValueDecomposition.getU()
|
MatrixMxNf |
EigenvalueDecomposition.getV()
|
MatrixMxNf |
SingularValueDecomposition.getV()
|
MatrixMxNf |
LUDecomposition.solve(MatrixMxNf B)
Solves A * X = B. |
MatrixMxNf |
QRDecomposition.solve(MatrixMxNf B,
MatrixMxNf result)
Least squares solution of A * X = B. |
| Methods in org.openmali.decomposition with parameters of type MatrixMxNf | |
|---|---|
MatrixMxNf |
LUDecomposition.solve(MatrixMxNf B)
Solves A * X = B. |
void |
CholeskyDecomposition.solve(MatrixMxNf B,
MatrixMxNf result)
Solves A * X = B. |
MatrixMxNf |
QRDecomposition.solve(MatrixMxNf B,
MatrixMxNf result)
Least squares solution of A * X = B. |
| Constructors in org.openmali.decomposition with parameters of type MatrixMxNf | |
|---|---|
CholeskyDecomposition(MatrixMxNf M)
Cholesky algorithm for symmetric and positive definite matrix. |
|
EigenvalueDecomposition(MatrixMxNf A)
Check for symmetry, then construct the eigenvalue decomposition |
|
LUDecomposition(MatrixMxNf A)
LU Decomposition. |
|
QRDecomposition(MatrixMxNf A)
QR Decomposition, computed by Householder reflections. |
|
SingularValueDecomposition(MatrixMxNf M)
Constructs the singular value decomposition. |
|
| Uses of MatrixMxNf in org.openmali.number.matrix |
|---|
| Methods in org.openmali.number.matrix that return MatrixMxNf | |
|---|---|
static MatrixMxNf |
MatrixMxNrad.sharedSubMatrixMxNrad(MatrixMxNf mat,
int beginRow,
int beginCol,
int rows,
int cols,
boolean readOnly)
creates a shared Submatrix of mat. |
| Methods in org.openmali.number.matrix with parameters of type MatrixMxNf | |
|---|---|
static MatrixMxNf |
MatrixMxNrad.sharedSubMatrixMxNrad(MatrixMxNf mat,
int beginRow,
int beginCol,
int rows,
int cols,
boolean readOnly)
creates a shared Submatrix of mat. |
| Uses of MatrixMxNf in org.openmali.vecmath2 |
|---|
| Subclasses of MatrixMxNf in org.openmali.vecmath2 | |
|---|---|
class |
Matrix3f
A single precision floating point 3 by 3 matrix. |
class |
Matrix4f
A single precision floating point 4 by 4 matrix. |
| Methods in org.openmali.vecmath2 that return MatrixMxNf | |
|---|---|
MatrixMxNf |
MatrixMxNf.add(float scalar)
Adds a scalar to this Matrix. |
MatrixMxNf |
MatrixMxNf.add(int row,
int column,
float summand)
Adds the given summand to the element identified by row and column. |
MatrixMxNf |
MatrixMxNf.add(MatrixMxNf m2)
Sets the value of this matrix to sum of itself and matrix m2. |
MatrixMxNf |
MatrixMxNf.add(MatrixMxNf m1,
MatrixMxNf m2)
Sets the value of this matrix to the matrix sum of matrices m1 and m2. |
MatrixMxNf |
MatrixMxNf.asReadOnly()
|
MatrixMxNf |
MatrixMxNf.clone()
|
MatrixMxNf |
MatrixMxNf.div(int row,
int column,
float divisor)
Devides the element identified by row and column with the given divisor. |
MatrixMxNf |
MatrixMxNf.getReadOnly()
|
MatrixMxNf |
MatrixMxNf.getSharedSubMatrix(boolean readOnly,
int beginRow,
int beginCol,
int rows,
int cols)
Creates a Submatrix of mat, that begins in beginRow and beginCol. |
MatrixMxNf |
MatrixMxNf.getSharedSubMatrix(int beginRow,
int beginCol,
int rows,
int cols)
Creates a Submatrix of mat, that begins in beginRow and beginCol. |
MatrixMxNf |
MatrixMxNf.identityMinus()
Subtracts this matrix from the identity matrix and puts the values back into this (this = I - this). |
MatrixMxNf |
MatrixMxNf.invert()
Inverts this matrix in place. |
MatrixMxNf |
MatrixMxNf.invert(MatrixMxNf m)
Inverts matrix m and places the new values into this matrix. |
MatrixMxNf |
MatrixMxNf.mul(float scalar)
Multiplies this Matrix with a scalar. |
MatrixMxNf |
MatrixMxNf.mul(int row,
int column,
float factor)
Multiplies the element identified by row and column with the given factor. |
MatrixMxNf |
MatrixMxNf.mul(MatrixMxNf mat2)
Sets the value of this matrix to the result of multiplying itself with matrix m1 (this = this * m1). |
MatrixMxNf |
MatrixMxNf.mul(MatrixMxNf m1,
MatrixMxNf m2)
Sets the value of this matrix to the result of multiplying the two argument matrices together (this = m1 * m2). |
MatrixMxNf |
MatrixMxNf.mul(TupleNf<?> v1,
TupleNf<?> v2)
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. |
MatrixMxNf |
MatrixMxNf.mulComp(MatrixMxNf mat2)
Sets the value of this matrix to the result of multiplying this matrix and the other one componentwisely (this = this x m2). |
MatrixMxNf |
MatrixMxNf.mulComp(MatrixMxNf m1,
MatrixMxNf m2)
Sets the value of this matrix to the result of multiplying the two argument matrices componentwisely (this = m1 x m2). |
MatrixMxNf |
MatrixMxNf.mulTransposeBoth(MatrixMxNf m1,
MatrixMxNf m2)
Multiplies the transpose of matrix m1 times the transpose of matrix m2, and places the result into this. |
MatrixMxNf |
MatrixMxNf.mulTransposeLeft(MatrixMxNf m1,
MatrixMxNf m2)
Multiplies the transpose of matrix m1 times the matrix m2, and places the result into this. |
MatrixMxNf |
MatrixMxNf.mulTransposeRight(MatrixMxNf m1,
MatrixMxNf m2)
Multiplies matrix m1 times the transpose of matrix m2, and places the result into this. |
MatrixMxNf |
MatrixMxNf.negate()
Negates the value of this matrix: this = -this. |
MatrixMxNf |
MatrixMxNf.negate(MatrixMxNf m)
Sets the value of this matrix to the negation of the Matrix parameter. |
static MatrixMxNf |
MatrixMxNf.newReadOnly(int rows,
int cols)
Constructs an nRow by nCol identity matrix. |
static MatrixMxNf |
MatrixMxNf.newReadOnly(int rows,
int cols,
float[] values)
Constructs an nRow by nCol matrix initialized to the values in the matrix array. |
static MatrixMxNf |
MatrixMxNf.newReadOnly(MatrixMxNf matrix)
Constructs a new GMatrix and copies the initial values from the parameter matrix. |
MatrixMxNf |
MatrixMxNf.set(int row,
int column,
float value)
Modifies the value at the specified row and column of this matrix. |
protected MatrixMxNf |
MatrixMxNf.set(int row,
int colSkip,
int column,
float value)
|
MatrixMxNf |
MatrixMxNf.setColumn(int col,
float[] values)
Copies the values from the array into the specified column of this matrix. |
MatrixMxNf |
MatrixMxNf.setColumn(int col,
TupleNf<?> tuple)
Copy the values from the array into the specified column of this matrix. |
MatrixMxNf |
MatrixMxNf.setIdentity()
Sets this GMatrix to the identity matrix. |
MatrixMxNf |
MatrixMxNf.setRow(int row,
float[] values)
Copies the values from the array into the specified row of this matrix. |
MatrixMxNf |
MatrixMxNf.setRow(int row,
TupleNf<?> tuple)
Copies the values from the array into the specified row of this matrix. |
MatrixMxNf |
MatrixMxNf.setScale(float scale)
Sets this matrix to a uniform scale matrix; all of the values are reset. |
MatrixMxNf |
MatrixMxNf.setZero()
Sets all the values in this matrix to zero. |
static MatrixMxNf |
MatrixMxNf.sharedSubMatrixMxNf(MatrixMxNf mat,
int beginRow,
int beginCol,
int rows,
int cols)
Creates a shared Submatrix of mat. |
static MatrixMxNf |
MatrixMxNf.sharedSubMatrixMxNf(MatrixMxNf mat,
int beginRow,
int beginCol,
int rows,
int cols,
boolean readOnly)
Creates a shared Submatrix of mat. |
MatrixMxNf |
MatrixMxNf.sub(float scalar)
Subtracts a scalar from this Matrix. |
MatrixMxNf |
MatrixMxNf.sub(int row,
int column,
float value)
Subtracts the given summand from the element identified by row and column. |
MatrixMxNf |
MatrixMxNf.sub(MatrixMxNf m2)
Sets the value of this matrix to the matrix difference of itself and matrix m2 (this = this - m2). |
MatrixMxNf |
MatrixMxNf.sub(MatrixMxNf m1,
MatrixMxNf m2)
Sets the value of this matrix to the matrix difference of matrices m1 and m2 (this = m1 - m2). |
MatrixMxNf |
MatrixMxNf.transpose()
Transposes this matrix in place, this can only be done on square matrices. |
MatrixMxNf |
MatrixMxNf.transpose(MatrixMxNf mat)
Places the matrix values of the transpose of matrix mat into this matrix. |
| Methods in org.openmali.vecmath2 with parameters of type MatrixMxNf | |
|---|---|
MatrixMxNf |
MatrixMxNf.add(MatrixMxNf m2)
Sets the value of this matrix to sum of itself and matrix m2. |
MatrixMxNf |
MatrixMxNf.add(MatrixMxNf m1,
MatrixMxNf m2)
Sets the value of this matrix to the matrix sum of matrices m1 and m2. |
void |
MatrixMxNf.copySubMatrix(int rowSource,
int colSource,
int numRows,
int numCols,
int rowDest,
int colDest,
MatrixMxNf target)
Copies a sub-matrix derived from this matrix into the target matrix. |
boolean |
MatrixMxNf.epsilonEquals(MatrixMxNf mat2,
float epsilon)
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 |
MatrixMxNf.equals(MatrixMxNf mat2)
Returns true if all of the data members of Matrix4d m1 are equal to the corresponding data members in this Matrix4d. |
void |
MatrixMxNf.get(MatrixMxNf mat)
Places the values in the this matrix into the matrix mat; mat should be at least as large as this Matrix. |
void |
MatrixMxNf.interpolate(MatrixMxNf m1,
MatrixMxNf m2,
float alpha)
Interpolates each value of this Matrix by the value alpha. |
MatrixMxNf |
MatrixMxNf.invert(MatrixMxNf m)
Inverts matrix m and places the new values into this matrix. |
int |
MatrixMxNf.LUD(MatrixMxNf lu,
VectorNf permutation)
LU Decomposition; this matrix must be a square matrix; the LU GMatrix parameter must be the same size as this matrix. |
void |
VectorNf.LUDBackSolve(MatrixMxNf lu,
VectorNf b,
VectorNf 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. |
MatrixMxNf |
MatrixMxNf.mul(MatrixMxNf mat2)
Sets the value of this matrix to the result of multiplying itself with matrix m1 (this = this * m1). |
MatrixMxNf |
MatrixMxNf.mul(MatrixMxNf m1,
MatrixMxNf m2)
Sets the value of this matrix to the result of multiplying the two argument matrices together (this = m1 * m2). |
void |
VectorNf.mul(MatrixMxNf m,
VectorNf v)
Multiplies matrix m1 times Vector v1 and places the result into this vector (this = m1 * v1). |
void |
VectorNf.mul(VectorNf v1,
MatrixMxNf m)
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). |
MatrixMxNf |
MatrixMxNf.mulComp(MatrixMxNf mat2)
Sets the value of this matrix to the result of multiplying this matrix and the other one componentwisely (this = this x m2). |
MatrixMxNf |
MatrixMxNf.mulComp(MatrixMxNf m1,
MatrixMxNf m2)
Sets the value of this matrix to the result of multiplying the two argument matrices componentwisely (this = m1 x m2). |
MatrixMxNf |
MatrixMxNf.mulTransposeBoth(MatrixMxNf m1,
MatrixMxNf m2)
Multiplies the transpose of matrix m1 times the transpose of matrix m2, and places the result into this. |
MatrixMxNf |
MatrixMxNf.mulTransposeLeft(MatrixMxNf m1,
MatrixMxNf m2)
Multiplies the transpose of matrix m1 times the matrix m2, and places the result into this. |
MatrixMxNf |
MatrixMxNf.mulTransposeRight(MatrixMxNf m1,
MatrixMxNf m2)
Multiplies matrix m1 times the transpose of matrix m2, and places the result into this. |
MatrixMxNf |
MatrixMxNf.negate(MatrixMxNf m)
Sets the value of this matrix to the negation of the Matrix parameter. |
static MatrixMxNf |
MatrixMxNf.newReadOnly(MatrixMxNf matrix)
Constructs a new GMatrix and copies the initial values from the parameter matrix. |
void |
MatrixMxNf.set(MatrixMxNf mat)
Sets the value of this matrix to the values found in matrix mat. |
static Matrix3f |
Matrix3f.sharedSubMatrix3f(MatrixMxNf mat,
int beginRow,
int beginCol)
Creates a Submatrix of mat, that begins in beginRow and beginCol. |
static Matrix4f |
Matrix4f.sharedSubMatrix4f(MatrixMxNf mat,
int beginRow,
int beginCol)
Creates a Submatrix of mat, that begins in beginRow and beginCol. |
static MatrixMxNf |
MatrixMxNf.sharedSubMatrixMxNf(MatrixMxNf mat,
int beginRow,
int beginCol,
int rows,
int cols)
Creates a shared Submatrix of mat. |
static MatrixMxNf |
MatrixMxNf.sharedSubMatrixMxNf(MatrixMxNf mat,
int beginRow,
int beginCol,
int rows,
int cols,
boolean readOnly)
Creates a shared Submatrix of mat. |
void |
MatrixMxNf.solve(MatrixMxNf m2,
MatrixMxNf result)
Solves this * X = m2. |
MatrixMxNf |
MatrixMxNf.sub(MatrixMxNf m2)
Sets the value of this matrix to the matrix difference of itself and matrix m2 (this = this - m2). |
MatrixMxNf |
MatrixMxNf.sub(MatrixMxNf m1,
MatrixMxNf m2)
Sets the value of this matrix to the matrix difference of matrices m1 and m2 (this = m1 - m2). |
int |
MatrixMxNf.SVD(MatrixMxNf u,
MatrixMxNf w,
MatrixMxNf v)
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. |
void |
VectorNf.SVDBackSolve(MatrixMxNf U,
MatrixMxNf W,
MatrixMxNf V,
VectorNf 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. |
MatrixMxNf |
MatrixMxNf.transpose(MatrixMxNf mat)
Places the matrix values of the transpose of matrix mat into this matrix. |
| Constructors in org.openmali.vecmath2 with parameters of type MatrixMxNf | |
|---|---|
MatrixMxNf(boolean readOnly,
MatrixMxNf matrix)
Constructs a new MatrixMxNf and copies the initial values from the parameter matrix. |
|
MatrixMxNf(MatrixMxNf matrix)
Constructs a new GMatrix and copies the initial values from the parameter matrix. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||