You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Matrix.SCValues1D Property
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.SCValues1D Property

Access elements of the Matrix or matrix.

Pascal
property SCValues1D [const Idx: integer]: TSCplx;

The Idx parameter can be translated to row and column indexes like this: 

 

RowIndex := Idx div Mtx.Cols; ColumnIndex := Idx mod Mtx.Cols;

 

To compute the Index at a given row and column: 

 

Idx := RowIndex*Mtx.Cols + ColumnIndex;
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!