MF_MatrixTo2DArray
| MD_MatrixTo2DArray |
ME_MatrixTo2DArray |
MCF_MatrixTo2DArray |
MCD_MatrixTo2DArray |
MCE_MatrixTo2DArray |
MI_MatrixTo2DArray | MBI_MatrixTo2DArray | MSI_MatrixTo2DArray | MLI_MatrixTo2DArray | MQI_MatrixTo2DArray |
MU_MatrixTo2DArray | MUB_MatrixTo2DArray | MUS_MatrixTo2DArray | MUL_MatrixTo2DArray | |
|
Function | convert OptiVec matrix into 2D-array of Delphi 4 or higher |
|
Syntax C/C++ | N.A. |
Pascal/Delphi | uses VecLib, MFstd;
type fArray = array of Single;
type f2DArray = array of fArray;
procedure MF_MatrixTo2DArray( DelphiArr:f2DArray; MF:fMatrix; ht,len:UIntSize); |
|
Description | This function is necessary only for Delphi 4 or higher. (Previous versions of Borland Pascal/Delphi did not support dynamically allocated matrices.) It converts OptiVec matrices into two-dimensional Delphi arrays. Note that, unlike static Pascal/Delphi matrices, the dynamic matrices of Delphi 4+ cannot directly be passed to OptiVec functions, but have to be converted first by calling MF_2DArrayToMatrix. If you ever need an OptiVec matrix back into Delphi format, this is done by the present function. |
|
|