public class GeneralMatrixF extends RowMajorMatrixF
GeneralMatrixF is a concrete matrix implementation that is supported by
a backing store consisting of an array of floats. The matrix is stored in row-major order.| Constructor and Description |
|---|
GeneralMatrixF(int numRows,
int numCols) |
GeneralMatrixF(int numRows,
int numCols,
float[] data) |
| Modifier and Type | Method and Description |
|---|---|
MatrixF |
emptyMatrix(int numRows,
int numCols)
Returns a new empty matrix of the indicated dimensions.
|
float[] |
getData()
Returns the contiguous array of floats which is the storage for this matrix
|
GeneralMatrixF |
transposed()
Returns a matrix which is the transposition of the receiver matrix.
|
indexFromRowCol, toVectorget, putadaptHomogeneous, add, add, add, added, added, added, diagonalMatrix, diagonalMatrix, dimensionsError, dimensionsError, formatAsTransform, formatAsTransform, getColumn, getRow, getTranslation, identityMatrix, inverted, multiplied, multiplied, multiplied, multiplied, multiply, multiply, multiply, multiply, numCols, numRows, slice, slice, subtract, subtract, subtract, subtracted, subtracted, subtracted, toString, transformpublic GeneralMatrixF(int numRows,
int numCols)
public GeneralMatrixF(int numRows,
int numCols,
float[] data)
public float[] getData()
DenseMatrixFgetData in class DenseMatrixFpublic MatrixF emptyMatrix(int numRows, int numCols)
MatrixFemptyMatrix in class MatrixFOpenGLMatrix.emptyMatrix(int, int)public GeneralMatrixF transposed()
MatrixFtransposed in class MatrixF