Tmatrix2_double

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

Double precision matrix of two scalars

Declaration

Source position: matrix.pp line 157

Type
  Tmatrix2_double = object
    data : Tmatrix2_double_data;
    constructor init_zero;
    constructor init_identity;
    constructor init(aa: Double; ab: Double; ba: Double; bb: Double);
    function get_column(c: Byte) : Tvector2_double;
    function get_row(r: Byte) : Tvector2_double;
    procedure set_column(c: Byte; const v: Tvector2_double);
    procedure set_row(r: Byte; const v: Tvector2_double);
    function determinant : Double;
    function inverse(Adeterminant: Double) : Tmatrix2_double;
    function transpose : Tmatrix2_double;
  end
  ;

Description

The Tmatrix2_double object provides a matrix of 2*2 double precision scalars.

Members

Member Type Visibility Description
data Field default Internal data of Tmatrix2.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
Tmatrix2_double Double precision matrix of two scalars