@EqualityStructural @Immutable public final class MatrixI4x4D extends Object implements MatrixReadable4x4DType
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
double |
getR0C0D() |
double |
getR0C1D() |
double |
getR0C2D() |
double |
getR0C3D() |
double |
getR1C0D() |
double |
getR1C1D() |
double |
getR1C2D() |
double |
getR1C3D() |
double |
getR2C0D() |
double |
getR2C1D() |
double |
getR2C2D() |
double |
getR2C3D() |
double |
getR3C0D() |
double |
getR3C1D() |
double |
getR3C2D() |
double |
getR3C3D() |
<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. |
<V extends VectorWritable4DType> |
getRow4D(int row,
V out)
Retrieve row
row, saving the result to out. |
<V extends VectorWritable4DType> |
getRow4DUnsafe(int row,
V out)
Retrieve row
row, saving the result to out. |
double |
getRowColumnD(int row,
int col) |
int |
hashCode() |
static MatrixI4x4D |
identity() |
<M extends MatrixWritable4x4DType> |
makeMatrixM4x4D(M m)
Write the current matrix into the given mutable matrix.
|
static MatrixI4x4D |
newFromColumns(VectorReadable4DType column_0,
VectorReadable4DType column_1,
VectorReadable4DType column_2,
VectorReadable4DType column_3)
Construct a new immutable 4x4 matrix from the given columns.
|
static MatrixI4x4D |
newFromReadable(MatrixReadable4x4DType m)
Construct a new immutable 4x4 matrix from the given readable 4x4 matrix.
|
String |
toString() |
public static MatrixI4x4D identity()
public static MatrixI4x4D newFromColumns(VectorReadable4DType column_0, VectorReadable4DType column_1, VectorReadable4DType column_2, VectorReadable4DType column_3)
column_0 - The first columncolumn_1 - The second columncolumn_2 - The third columncolumn_3 - The fourth columnpublic static MatrixI4x4D newFromReadable(MatrixReadable4x4DType m)
m - The original matrixpublic <V extends VectorWritable4DType> void getRow4D(int row, V out)
MatrixReadable4x4DTyperow, saving the result to out.getRow4D in interface MatrixReadable4x4DTypeV - The precise type of writable vector.row - The index of the row, starting at 0.out - The output vector.public <V extends VectorWritable4DType> void getRow4DUnsafe(int row, V out)
MatrixReadable4x4DTyperow, saving the result to out. No bounds
checking is performed for row, and out-of-bounds values result in
undefined behaviour.getRow4DUnsafe in interface MatrixReadable4x4DTypeV - The precise type of writable vector.row - The index of the row, starting at 0.out - The output vector.public double getR0C3D()
getR0C3D in interface MatrixReadable4x4DTypepublic double getR1C3D()
getR1C3D in interface MatrixReadable4x4DTypepublic double getR2C3D()
getR2C3D in interface MatrixReadable4x4DTypepublic double getR3C0D()
getR3C0D in interface MatrixReadable4x4DTypepublic double getR3C1D()
getR3C1D in interface MatrixReadable4x4DTypepublic double getR3C2D()
getR3C2D in interface MatrixReadable4x4DTypepublic double getR3C3D()
getR3C3D in interface MatrixReadable4x4DTypepublic double getRowColumnD(int row,
int col)
getRowColumnD in interface MatrixReadableDTyperow - The rowcol - The columnpublic <M extends MatrixWritable4x4DType> void makeMatrixM4x4D(M m)
M - The precise type of matrixm - The mutable 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 <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 © 2015 <code@io7m.com> http://io7m.com