InitMatrix (FUN)ΒΆ

FUNCTION InitMatrix : ResultCode

Initializes a matrix. Expects the dimensions and the array of values.

InOut:

Scope

Name

Type

Comment

Return

InitMatrix

ResultCode

Inout

m

Matrix

The matrix to initialize

Input

nRows

DINT

The number of rows

nCols

DINT

The number of columns

nColsPhys

DINT

The physical number of columns in pElems, must not be less than nCols.

pElems

POINTER TO ARRAY [0..0] OF LREAL

The array containing the values