Matrix (STRUCT)ΒΆ

TYPE Matrix : STRUCT

Representation of matrices.

The elements are stored in an array in row-major form.
To allow for the representation of submatrices, a physical number of columns,

which may be larger then the number of columns of the matrix, is stored, too.
InOut:

Name

Type

Comment

nRows

DINT

The dimension, both entries must be positive, nColsPhys must not be less than nCols.

nCols

DINT

nColsPhys

DINT

pElems

POINTER TO ARRAY [0..0] OF LREAL

Array of length at least (nRows-1)*nColsPhys + nCols elements