T0 - A phantom type parameter.T1 - A phantom type parameter.@EqualityStructural @Immutable public final class PMatrixI3x3F<T0,T1> extends Object implements PMatrixReadable3x3FType<T0,T1>
| 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 <T0,T1> PMatrixI3x3F<T0,T1> |
identity() |
void |
makeMatrix3x3F(PMatrixWritable3x3FType<T0,T1> m)
Write the current matrix into the given mutable matrix.
|
void |
makeMatrix3x3FUntyped(MatrixWritable3x3FType m)
Write the current matrix into the given mutable matrix.
|
static <T0,T1> PMatrixI3x3F<T0,T1> |
newFromColumns(VectorReadable3FType column_0,
VectorReadable3FType column_1,
VectorReadable3FType column_2)
Construct a new immutable 3x3 matrix from the given columns.
|
static <T0,T1> PMatrixI3x3F<T0,T1> |
newFromReadable(PMatrixReadable3x3FType<T0,T1> m)
Construct a new immutable 3x3 matrix from the given readable 3x3 matrix.
|
static <T0,T1> PMatrixI3x3F<T0,T1> |
newFromReadableUntyped(MatrixReadable3x3FType m)
Construct a new immutable 3x3 matrix from the given readable 3x3 matrix.
|
String |
toString() |
public static <T0,T1> PMatrixI3x3F<T0,T1> identity()
T0 - A phantom type parameter.T1 - A phantom type parameter.public static <T0,T1> PMatrixI3x3F<T0,T1> newFromColumns(VectorReadable3FType column_0, VectorReadable3FType column_1, VectorReadable3FType column_2)
T0 - A phantom type parameter.T1 - A phantom type parameter.column_0 - The first columncolumn_1 - The second columncolumn_2 - The third columnpublic static <T0,T1> PMatrixI3x3F<T0,T1> newFromReadable(PMatrixReadable3x3FType<T0,T1> m)
T0 - A phantom type parameter.T1 - A phantom type parameter.m - The original matrixpublic static <T0,T1> PMatrixI3x3F<T0,T1> newFromReadableUntyped(MatrixReadable3x3FType m)
T0 - A phantom type parameter.T1 - A phantom type parameter.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 void makeMatrix3x3F(PMatrixWritable3x3FType<T0,T1> m)
m - The mutable matrixpublic void makeMatrix3x3FUntyped(MatrixWritable3x3FType m)
m - 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 © 2015 <code@io7m.com> http://io7m.com