You are here: Symbol Reference > AbstractMtxVecInt Namespace > Classes > TMtxVecInt Class > public > CopyToArray Method > TMtxVecInt.CopyToArray Method (TCplxArray, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVecInt.CopyToArray Method (TCplxArray, integer, integer, integer)

Copy values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex + Len/2 - 1].

Pascal
function CopyToArray(var Dst: TCplxArray; DstIndex: integer; Index: integer; Len: integer): TMtxVecInt; overload;

The size of the Dst array is not changed. The method converts calling object values to complex double precision floating point values. Consecutive elements become real and imaginary parts. Index and Len apply to the integer source array and DstIndex applies to the destination complex array.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!