@EqualityStructural @Immutable public final class MatrixI4x4F extends Object implements MatrixReadable4x4FType
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
float |
getR0C0F() |
float |
getR0C1F() |
float |
getR0C2F() |
float |
getR0C3F() |
float |
getR1C0F() |
float |
getR1C1F() |
float |
getR1C2F() |
float |
getR1C3F() |
float |
getR2C0F() |
float |
getR2C1F() |
float |
getR2C2F() |
float |
getR2C3F() |
float |
getR3C0F() |
float |
getR3C1F() |
float |
getR3C2F() |
float |
getR3C3F() |
<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. |
<V extends VectorWritable4FType> |
getRow4F(int row,
V out)
Retrieve row
row, saving the result to out. |
<V extends VectorWritable4FType> |
getRow4FUnsafe(int row,
V out)
Retrieve row
row, saving the result to out. |
float |
getRowColumnF(int row,
int col) |
int |
hashCode() |
static MatrixI4x4F |
identity() |
void |
makeMatrixM4x4F(MatrixWritable4x4FType m)
Write the current matrix into the given mutable matrix.
|
static MatrixI4x4F |
newFromColumns(VectorReadable4FType column_0,
VectorReadable4FType column_1,
VectorReadable4FType column_2,
VectorReadable4FType column_3)
Construct a new immutable 4x4 matrix from the given columns.
|
static MatrixI4x4F |
newFromReadable(MatrixReadable4x4FType m)
Construct a new immutable 4x4 matrix from the given readable 4x4 matrix.
|
String |
toString() |
public static MatrixI4x4F identity()
public static MatrixI4x4F newFromColumns(VectorReadable4FType column_0, VectorReadable4FType column_1, VectorReadable4FType column_2, VectorReadable4FType column_3)
column_0 - The first columncolumn_1 - The second columncolumn_2 - The third columncolumn_3 - The fourth columnpublic static MatrixI4x4F newFromReadable(MatrixReadable4x4FType m)
m - The original matrixpublic <V extends VectorWritable4FType> void getRow4F(int row, V out)
MatrixReadable4x4FTyperow, saving the result to out.getRow4F in interface MatrixReadable4x4FTypeV - The precise type of writable vector.row - The index of the row, starting at 0.out - The output vector.public <V extends VectorWritable4FType> void getRow4FUnsafe(int row, V out)
MatrixReadable4x4FTyperow, saving the result to out. No bounds
checking is performed for row, and out-of-bounds values result in
undefined behaviour.getRow4FUnsafe in interface MatrixReadable4x4FTypeV - The precise type of writable vector.row - The index of the row, starting at 0.out - The output vector.public float getR0C3F()
getR0C3F in interface MatrixReadable4x4FTypepublic float getR1C3F()
getR1C3F in interface MatrixReadable4x4FTypepublic float getR2C3F()
getR2C3F in interface MatrixReadable4x4FTypepublic float getR3C0F()
getR3C0F in interface MatrixReadable4x4FTypepublic float getR3C1F()
getR3C1F in interface MatrixReadable4x4FTypepublic float getR3C2F()
getR3C2F in interface MatrixReadable4x4FTypepublic float getR3C3F()
getR3C3F in interface MatrixReadable4x4FTypepublic float getRowColumnF(int row,
int col)
getRowColumnF in interface MatrixReadableFTyperow - The rowcol - The columnpublic void makeMatrixM4x4F(MatrixWritable4x4FType m)
m - The mutable 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 <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 © 2017 <code@io7m.com> http://io7m.com