Tmatrix2_single
[Properties (by Name)][Methods (by Name)][Events (by Name)]
Single precision matrix of two scalars
Declaration
Source position: matrix.pp line 143
Type
Tmatrix2_single = object
data : Tmatrix2_single_data;
constructor init_zero;
constructor init_identity;
constructor init(aa: single; ab: single; ba: single; bb: single);
function get_column(c: Byte) : Tvector2_single;
function get_row(r: Byte) : Tvector2_single;
procedure set_column(c: Byte; const v: Tvector2_single);
procedure set_row(r: Byte; const v: Tvector2_single);
function determinant : single;
function inverse(Adeterminant: single) : Tmatrix2_single;
function transpose : Tmatrix2_single;
end
;
Description
The Tmatrix2_single object provides a matrix of 2*2 single precision scalars.
Members
Member | Type | Visibility | Description |
---|---|---|---|
data | Field | default | Internal data of Tmatrix2.single |
determinant | Method | default | Calculates the determinant of the matrix. |
get_column | Method | default | Returns the c-th column of the matrix as vector. |
get_row | Method | default | Returns the r-th row of the matrix as vector. |
init | Method | default | Initializes the matrix, setting its elements to the values passed to the constructor. |
init_identity | Method | default | Initializes the matrix and sets its elements to the identity matrix. |
init_zero | Method | default | Initializes the matrix and sets its elements to zero |
inverse | Method | default | Calculates the inverse of the matrix. |
set_column | Method | default | Sets c-th column of the matrix with a vector. |
set_row | Method | default | Sets r-th row of the matrix with a vector. |
transpose | Method | default | Returns the transposition of the matrix. |
Inheritance
Class | Description |
---|---|
Tmatrix2_single | Single precision matrix of two scalars |