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

Class
TMtxVec

Declaration
Property Values1D [constIdx:integer]: TSample read get_Values1D write set_Values1D;
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