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: TVector, TIntVector
Declaration: procedure CopyToArray (var DestArray: TDoubleArray; LowElem, HighElem: integer); { class TVector }
procedure CopyToArray (var DestArray: TIntArray; LowElem, HighElem: integer); { class TIntVector }

The method CopyToArray copies the cells of the vector in the range from [LowElem] to [HighElem] to the dynamic array DestArray. The size of the destination array is automatically adjusted to the size of the specified range.

Hint: Setting both LowElem and HighElem to zero values is a shortcut for copying all cells of the vector.

Last Update: 2018-Dec-28