CopyTo2DArray
Declaration: | TVector.CopyTo2DArray (var DestArray: TDouble2DArray; LowElem, HighElem, DestCol, DestRow: integer; AsColumn: boolean); |
The method CopyTo2DArray copies the cells of the vector from [LowElem] to [HighElem] to the two-dimensional array DestArray at the position [DestCol,DestRow]. The parameter AsColumn determines whether the data are copied into a column or a row of the array. The size of the destination array is not adjusted to the size of the specified range plus DestElem, thus you have to resize the destination array before copying the data.
|
Hint: |
Setting both LowElem and HighElem to zero values is a shortcut for copying all cells of the vector. |
|