public class ColumnMatrixF extends MatrixF
ColumnMatrixF
is a matrix that converts a VectorF into a 1xn matrixConstructor and Description |
---|
ColumnMatrixF(VectorF vector) |
Modifier and Type | Method and Description |
---|---|
MatrixF |
emptyMatrix(int numRows,
int numCols)
Returns a new empty matrix of the indicated dimensions.
|
float |
get(int row,
int col)
Returns a particular element of this matrix
|
void |
put(int row,
int col,
float value)
Updates a particular element of this matrix
|
adaptHomogeneous, 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, toVector, transform, transposed
public ColumnMatrixF(VectorF vector)
public float get(int row, int col)
MatrixF
get
in class MatrixF
row
- the index of the row of the element to returncol
- the index of the column of the element to returnMatrixF.put(int, int, float)
public void put(int row, int col, float value)
MatrixF
public MatrixF emptyMatrix(int numRows, int numCols)
MatrixF
emptyMatrix
in class MatrixF
OpenGLMatrix.emptyMatrix(int, int)