T0 - A phantom type parameter.T1 - A phantom type parameter.@EqualityStructural @Immutable public final class PMatrixI3x3D<T0,T1> extends Object implements PMatrixReadable3x3DType<T0,T1>
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
double |
getR0C0D() |
double |
getR0C1D() |
double |
getR0C2D() |
double |
getR1C0D() |
double |
getR1C1D() |
double |
getR1C2D() |
double |
getR2C0D() |
double |
getR2C1D() |
double |
getR2C2D() |
<V extends VectorWritable2DType> |
getRow2D(int row,
V out)
Retrieve row
row, saving the result to out. |
<V extends VectorWritable2DType> |
getRow2DUnsafe(int row,
V out)
Retrieve row
row, saving the result to out. |
<V extends VectorWritable3DType> |
getRow3D(int row,
V out)
Retrieve row
row, saving the result to out. |
<V extends VectorWritable3DType> |
getRow3DUnsafe(int row,
V out)
Retrieve row
row, saving the result to out. |
double |
getRowColumnD(int row,
int col) |
int |
hashCode() |
static <T0,T1> PMatrixI3x3D<T0,T1> |
identity() |
void |
makeMatrix3x3D(PMatrixWritable3x3DType<T0,T1> m)
Write the current matrix into the given mutable matrix.
|
void |
makeMatrix3x3DUntyped(MatrixWritable3x3DType m)
Write the current matrix into the given mutable matrix.
|
static <T0,T1> PMatrixI3x3D<T0,T1> |
newFromColumns(VectorReadable3DType column_0,
VectorReadable3DType column_1,
VectorReadable3DType column_2)
Construct a new immutable 3x3 matrix from the given columns.
|
static <T0,T1> PMatrixI3x3D<T0,T1> |
newFromReadable(PMatrixReadable3x3DType<T0,T1> m)
Construct a new immutable 3x3 matrix from the given readable 3x3 matrix.
|
static <T0,T1> PMatrixI3x3D<T0,T1> |
newFromReadableUntyped(MatrixReadable3x3DType m)
Construct a new immutable 3x3 matrix from the given readable 3x3 matrix.
|
String |
toString() |
public static <T0,T1> PMatrixI3x3D<T0,T1> identity()
T0 - A phantom type parameter.T1 - A phantom type parameter.public static <T0,T1> PMatrixI3x3D<T0,T1> newFromColumns(VectorReadable3DType column_0, VectorReadable3DType column_1, VectorReadable3DType 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> PMatrixI3x3D<T0,T1> newFromReadable(PMatrixReadable3x3DType<T0,T1> m)
T0 - A phantom type parameter.T1 - A phantom type parameter.m - The original matrixpublic static <T0,T1> PMatrixI3x3D<T0,T1> newFromReadableUntyped(MatrixReadable3x3DType m)
T0 - A phantom type parameter.T1 - A phantom type parameter.m - The original matrixpublic <V extends VectorWritable3DType> void getRow3D(int row, V out)
MatrixReadable3x3DTyperow, saving the result to out.getRow3D in interface MatrixReadable3x3DTypeV - The precise type of writable vector.row - The index of the row, starting at 0.out - The output vector.public <V extends VectorWritable3DType> void getRow3DUnsafe(int row, V out)
MatrixReadable3x3DTyperow, saving the result to out. No bounds
checking is performed for row, and out-of-bounds values result in
undefined behaviour.getRow3DUnsafe in interface MatrixReadable3x3DTypeV - The precise type of writable vector.row - The index of the row, starting at 0.out - The output vector.public double getR0C2D()
getR0C2D in interface MatrixReadable3x3DTypepublic double getR1C2D()
getR1C2D in interface MatrixReadable3x3DTypepublic double getR2C0D()
getR2C0D in interface MatrixReadable3x3DTypepublic double getR2C1D()
getR2C1D in interface MatrixReadable3x3DTypepublic double getR2C2D()
getR2C2D in interface MatrixReadable3x3DTypepublic double getRowColumnD(int row,
int col)
getRowColumnD in interface MatrixReadableDTyperow - The rowcol - The columnpublic void makeMatrix3x3D(PMatrixWritable3x3DType<T0,T1> m)
m - The mutable matrixpublic void makeMatrix3x3DUntyped(MatrixWritable3x3DType m)
m - The mutable matrixpublic <V extends VectorWritable2DType> void getRow2D(int row, V out)
MatrixReadable2x2DTyperow, saving the result to out.getRow2D in interface MatrixReadable2x2DTypeV - The precise type of writable vector.row - The index of the row, starting at 0.out - The output vector.public <V extends VectorWritable2DType> void getRow2DUnsafe(int row, V out)
MatrixReadable2x2DTyperow, saving the result to out. No bounds
checking is performed for row, and out-of-bounds values result in
undefined behaviour.getRow2DUnsafe in interface MatrixReadable2x2DTypeV - The precise type of writable vector.row - The index of the row, starting at 0.out - The output vector.public double getR0C0D()
getR0C0D in interface MatrixReadable2x2DTypepublic double getR1C0D()
getR1C0D in interface MatrixReadable2x2DTypepublic double getR0C1D()
getR0C1D in interface MatrixReadable2x2DTypepublic double getR1C1D()
getR1C1D in interface MatrixReadable2x2DTypeCopyright © 2016 <code@io7m.com> http://io7m.com