Dew MtxVec NET
TMtxVec.CValues1D Property
Summary
Access elements of the vector or matrix.

Class
TMtxVec

Declaration
Property CValues1D [constIdx:integer]: TCplx read get_CValues1D write set_CValues1D;
Description
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 2008 Dew Research
http://www.dewresearch.com