DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


CopyTo1DArray

Declaration:TVector.CopyTo1DArray (var DestArray: TDoubleArray; LowElem, HighElem, DestElem: integer);
The method CopyTo1DArray copies the cells of the vector in the range from [LowElem] to [HighElem] to the dynamic array DestArray, starting with the cell DestElem. The size of the destination array is automatically adjusted to the size of the specified range plus DestElem.

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