You are here: Symbol Reference > AbstractMtxVec Namespace > Classes > TMtxVec Class > public > CopyToArray Method > TMtxVec.CopyToArray Method (TSmallIntArray, TRounding, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVec.CopyToArray Method (TSmallIntArray, TRounding, integer, integer, integer)

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

Pascal
function CopyToArray(var Dst: TSmallIntArray; Rounding: TRounding; DstIndex: integer; Index: integer; Len: integer): TMtxVec; overload;

The size of the Dst array is not changed. If the calling object is complex, the Index and Len parameters define the number of complex elements. The method converts floating point values to integers. Values exceeding the range of a 2 byte signed integer type are clipped.

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