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....


Class: TDataTable
Declaration: procedure CopyDataFromMatrix (MatSrc: TMatrix; SrcColLo, SrcRowLo, SrcColHi, SrcRowHi, DstCol, DstRow: integer);

The function CopyDataFromMatrix copies the numeric data from the source matrix in the rectangular region defined by [SrcColLo,SrcRowLo] and [SrcColHi,SrcRowHi] to the position defined by the upper left corner [DstCol,DstRow]. If the copied data exceed the available space all excess data are ignored.

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

Last Update: 2023-Dec-14