TOpenCLVector.CopyToArray Method

Overload List

#SignatureDescription
1procedure CopyToArray(var Dst: TCplxArray);Copies calling object data to array.
2procedure CopyToArray(var Dst: TDoubleArray);Copies calling object data to array.
3procedure CopyToArray(var Dst: TIntegerArray);Copies calling object data to array.
└ indexed: procedure CopyToArray(var Dst: TIntegerArray; Index: Integer; Len: Integer);
4procedure CopyToArray(var Dst: TSingleArray);Copies calling object data to array.

Overload 1: procedure CopyToArray(var Dst: TCplxArray);

Copies calling object data to array.

#NameTypeDescription
1DstTCplxArray

Result: stored in self (calling object)

Remarks:

Copies Length elements from the calling object to Dst array. The size of the Dst array is set to Length or Length/2, if the Complex is false.

Overload 2: procedure CopyToArray(var Dst: TDoubleArray);

Copies calling object data to array.

#NameTypeDescription
1DstTDoubleArray

Result: stored in self (calling object)

Remarks:

Copies Length elements from the calling object to Dst array. The size of the Dst array is set to Length or Length*2, if the Complex is true.

Overload 3: procedure CopyToArray(var Dst: TIntegerArray);

Copies calling object data to array.

#NameTypeDescription
1DstTIntegerArray

Result: stored in self (calling object)

Remarks:

Copies Length elements from the calling object to Dst array. The size of the Dst array is set to Length or Length*2, if the Complex is true.

Indexed: procedure CopyToArray(var Dst: TIntegerArray; Index: Integer; Len: Integer);

Copies calling object data to array.

#NameTypeDescription
1DstTIntegerArray
2IndexIntegerstart index
3LenIntegerelement count

Result: stored in self (calling object)

Remarks:

Copies Len elements from the calling object starting at Index to Dst array. The size of the Dst array is set to Len or Len*2, if the Complex is true.

Overload 4: procedure CopyToArray(var Dst: TSingleArray);

Copies calling object data to array.

#NameTypeDescription
1DstTSingleArray

Result: stored in self (calling object)

Remarks:

Copies Length elements from the calling object to Dst array. The size of the Dst array is set to Length or Length*2, if the Complex is true.