Double precision matrix of two scalars.
Source position: matrix.pp line 160
type Tmatrix2_double = record |
||
public |
||
data: Tmatrix2_double_data; |
|
Internal data of Tmatrix2.double. |
procedure init_zero; |
|
Initializes the matrix and sets its elements to zero. |
procedure init_identity; |
|
Initializes the matrix and sets its elements to the identity matrix. |
procedure init(); |
|
Initializes the matrix, setting its elements to the values passed to the constructor. |
function get_column(); |
|
Returns the c-th column of the matrix as vector. |
function get_row(); |
|
Returns the r-th row of the matrix as vector. |
procedure set_column(); |
|
Sets c-th column of the matrix with a vector. |
procedure set_row(); |
|
Sets r-th row of the matrix with a vector. |
function determinant; |
|
Calculates the determinant of the matrix. |
function inverse(); |
|
Calculates the inverse of the matrix. |
function transpose; |
|
Returns the transposition of the matrix. |
|
||
end; |
The Tmatrix2_double object provides a matrix of 2*2 double precision scalars.