Skip to content

Tmatrix4_double

[Properties (by Name)][Methods (by Name)][Events (by Name)]

Double precision matrix of four scalars

Declaration

Source position: matrix.pp line 241

Type
  Tmatrix4_double = object
    data : Tmatrix4_double_data;
    constructor init_zero;
    constructor init_identity;
    constructor init(aa: Double; ab: Double; ac: Double; ad: Double; 
                    ba: Double; bb: Double; bc: Double; bd: Double; 
                    ca: Double; cb: Double; cc: Double; cd: Double; 
                    da: Double; db: Double; dc: Double; dd: Double);
    function get_column(c: Byte) : Tvector4_double;
    function get_row(r: Byte) : Tvector4_double;
    procedure set_column(c: Byte; const v: Tvector4_double);
    procedure set_row(r: Byte; const v: Tvector4_double);
    function determinant : Double;
    function inverse(Adeterminant: Double) : Tmatrix4_double;
    function transpose : Tmatrix4_double;
  end
  ;

Description

The Tmatrix4_double object provides a matrix of 4*4 double precision scalars.

Members

Member Type Visibility Description
data Field default Internal data of Tmatrix4.double
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
Tmatrix4_double Double precision matrix of four scalars