Elem
Declaration: |
TMatrix.Elem [ACol, ARow: integer]: double; |
The array property Elem contains the numeric values of the matrix. The parameters ACol and ARow specify the index of the column and row to be read or written. If ACol and/or ARow is outside the range of the matrix (1..NrOfColumns, 1..NrOfRows), the table is left unchanged in case of assigning a value to a table element, or the returned value is zero in case of reading from the matrix.
|
Example: |
The statement Mat1.Elem[20,2]:=10.555; loads the matrix
element of the 20th column and the second row with the value
10.555. |
|