The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



CopyToArray


Unit: SDL_matrix
Class: TMatrix
Declaration: [1] procedure CopyToArray (var DestArray: TDouble2DArray; LowCol, HighCol, LowRow, HighRow: integer); { class TMatrix }
[2] procedure CopyToArray (var DestArray: TInt2DArray; LowCol, HighCol, LowRow, HighRow: integer); { class TMatrix }
[3] procedure CopyToArray (var DestArray: TInt2DArray; LowCol, HighCol, LowRow, HighRow: integer); { class TIntMatrix }

The method CopyToArray copies the cells of the matrix in the range from [LowCol,LowRow] to [HighCol,HighRow] to the dynamic array DestArray. The size of the destination array is automatically adjusted to the size of the specified range.

Hint: As a shortcut, setting both the Low.... and High.... parameters to zero is equal to processing the entire range of available columns or rows.



Last Update: 2018-Jun-15