@EqualityStructural @Immutable public final class MatrixI3x3D extends Object implements MatrixReadable3x3DType
| 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 MatrixI3x3D |
identity() |
<M extends MatrixWritable3x3DType> |
makeMatrix3x3D(M m)
Write the current matrix into the given mutable matrix.
|
static MatrixI3x3D |
newFromColumns(VectorReadable3DType column_0,
VectorReadable3DType column_1,
VectorReadable3DType column_2)
Construct a new immutable 3x3 matrix from the given columns.
|
static MatrixI3x3D |
newFromReadable(MatrixReadable3x3DType m)
Construct a new immutable 3x3 matrix from the given readable 3x3 matrix.
|
String |
toString() |
public static MatrixI3x3D identity()
public static MatrixI3x3D newFromColumns(VectorReadable3DType column_0, VectorReadable3DType column_1, VectorReadable3DType column_2)
column_0 - The first columncolumn_1 - The second columncolumn_2 - The third columnpublic static MatrixI3x3D newFromReadable(MatrixReadable3x3DType m)
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 <M extends MatrixWritable3x3DType> void makeMatrix3x3D(M m)
M - The precise type of matrixm - 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