public class TLcd3DMatrix extends Object
Modifier and Type | Field and Description |
---|---|
double |
m00
Element at row 0 and column 0.
|
double |
m01
Element at row 0 and column 1.
|
double |
m02
Element at row 0 and column 2.
|
double |
m10
Element at row 1 and column 0.
|
double |
m11
Element at row 1 and column 1.
|
double |
m12
Element at row 1 and column 2.
|
double |
m20
Element at row 2 and column 0.
|
double |
m21
Element at row 2 and column 1.
|
double |
m22
Element at row 2 and column 2.
|
Constructor and Description |
---|
TLcd3DMatrix(double aM00,
double aM01,
double aM02,
double aM10,
double aM11,
double aM12,
double aM20,
double aM21,
double aM22)
Constructs and initializes a
TLcd3DMatrix from the specified nine values. |
Modifier and Type | Method and Description |
---|---|
double |
determinant()
Computes the determinant of this matrix.
|
void |
invert(TLcd3DMatrix aMatrix)
Sets the value of this matrix to the matrix inverse of the passed matrix aMatrix.
|
void |
setRow(int aRowNumber,
double aM0,
double aM1,
double aM2)
Sets the specified row of this
TLcd3DMatrix to the 3 values provided. |
public double m00
public double m01
public double m02
public double m10
public double m11
public double m12
public double m20
public double m21
public double m22
public TLcd3DMatrix(double aM00, double aM01, double aM02, double aM10, double aM11, double aM12, double aM20, double aM21, double aM22)
TLcd3DMatrix
from the specified nine values.aM00
- Element at row 0 and column 0.aM01
- Element at row 0 and column 1.aM02
- Element at row 0 and column 2.aM10
- Element at row 1 and column 0.aM11
- Element at row 1 and column 1.aM12
- Element at row 1 and column 2.aM20
- Element at row 2 and column 0.aM21
- Element at row 2 and column 1.aM22
- Element at row 2 and column 2.public void setRow(int aRowNumber, double aM0, double aM1, double aM2)
TLcd3DMatrix
to the 3 values provided.aRowNumber
- the row number of the given values.aM0
- the element at column 0.aM1
- the element at column 1.aM2
- the element at column 2.public void invert(TLcd3DMatrix aMatrix)
aMatrix
- the matrix to calculate the inverse for.public double determinant()