[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'matrix' (#rtl)

Tmatrix3_double

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

Double precision matrix of three scalars

Declaration

Source position: matrix.pp line 198

type Tmatrix3_double = object

  data: Tmatrix3_double_data;

  

Internal data of Tmatrix3.double

  constructor init_zero;

  

Initializes the matrix and sets its elements to zero

  constructor init_identity;

  

Initializes the matrix and sets its elements to the identity matrix.

  constructor 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;

Inheritance

Tmatrix3_double

  

Double precision matrix of three scalars

Description

The Tmatrix3_double object provides a matrix of 3*3 double precision scalars.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.