@EqualityStructural @Immutable public final class MatrixI3x3F extends Object implements MatrixReadable3x3FType
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
float |
getR0C0F() |
float |
getR0C1F() |
float |
getR0C2F() |
float |
getR1C0F() |
float |
getR1C1F() |
float |
getR1C2F() |
float |
getR2C0F() |
float |
getR2C1F() |
float |
getR2C2F() |
<V extends VectorWritable2FType> |
getRow2F(int row,
V out)
Retrieve row
row, saving the result to out. |
<V extends VectorWritable2FType> |
getRow2FUnsafe(int row,
V out)
Retrieve row
row, saving the result to out. |
<V extends VectorWritable3FType> |
getRow3F(int row,
V out)
Retrieve row
row, saving the result to out. |
<V extends VectorWritable3FType> |
getRow3FUnsafe(int row,
V out)
Retrieve row
row, saving the result to out. |
float |
getRowColumnF(int row,
int col) |
int |
hashCode() |
static MatrixI3x3F |
identity() |
<M extends MatrixWritable3x3FType> |
makeMatrixM3x3F(M m)
Write the current matrix into the given mutable matrix.
|
static MatrixI3x3F |
newFromColumns(VectorReadable3FType column_0,
VectorReadable3FType column_1,
VectorReadable3FType column_2)
Construct a new immutable 3x3 matrix from the given columns.
|
static MatrixI3x3F |
newFromReadable(MatrixReadable3x3FType m)
Construct a new immutable 3x3 matrix from the given readable 3x3 matrix.
|
String |
toString() |
public static MatrixI3x3F identity()
public static MatrixI3x3F newFromColumns(VectorReadable3FType column_0, VectorReadable3FType column_1, VectorReadable3FType column_2)
column_0 - The first columncolumn_1 - The second columncolumn_2 - The third columnpublic static MatrixI3x3F newFromReadable(MatrixReadable3x3FType m)
m - The original matrixpublic <V extends VectorWritable3FType> void getRow3F(int row, V out)
MatrixReadable3x3FTyperow, saving the result to out.getRow3F in interface MatrixReadable3x3FTypeV - The precise type of writable vector.row - The index of the row, starting at 0.out - The output vector.public <V extends VectorWritable3FType> void getRow3FUnsafe(int row, V out)
MatrixReadable3x3FTyperow, saving the result to out. No bounds
checking is performed for row, and out-of-bounds values result in
undefined behaviour.getRow3FUnsafe in interface MatrixReadable3x3FTypeV - The precise type of writable vector.row - The index of the row, starting at 0.out - The output vector.public float getR0C2F()
getR0C2F in interface MatrixReadable3x3FTypepublic float getR1C2F()
getR1C2F in interface MatrixReadable3x3FTypepublic float getR2C0F()
getR2C0F in interface MatrixReadable3x3FTypepublic float getR2C1F()
getR2C1F in interface MatrixReadable3x3FTypepublic float getR2C2F()
getR2C2F in interface MatrixReadable3x3FTypepublic float getRowColumnF(int row,
int col)
getRowColumnF in interface MatrixReadableFTyperow - The rowcol - The columnpublic <M extends MatrixWritable3x3FType> void makeMatrixM3x3F(M m)
M - The precise type of matrixm - The mutable matrixpublic <V extends VectorWritable2FType> void getRow2F(int row, V out)
MatrixReadable2x2FTyperow, saving the result to out.getRow2F in interface MatrixReadable2x2FTypeV - The precise type of writable vector.row - The index of the row, starting at 0.out - The output vector.public <V extends VectorWritable2FType> void getRow2FUnsafe(int row, V out)
MatrixReadable2x2FTyperow, saving the result to out. No bounds
checking is performed for row, and out-of-bounds values result in
undefined behaviour.getRow2FUnsafe in interface MatrixReadable2x2FTypeV - The precise type of writable vector.row - The index of the row, starting at 0.out - The output vector.public float getR0C0F()
getR0C0F in interface MatrixReadable2x2FTypepublic float getR1C0F()
getR1C0F in interface MatrixReadable2x2FTypepublic float getR0C1F()
getR0C1F in interface MatrixReadable2x2FTypepublic float getR1C1F()
getR1C1F in interface MatrixReadable2x2FTypeCopyright © 2016 <code@io7m.com> http://io7m.com