TOpenCLValue.CopyFromArray Method

Overload List

#SignatureDescription
1procedure CopyFromArray(const Src: TCplxArray; Index: Integer; Len: Integer);Copies array content.
2procedure CopyFromArray(const Src: TDoubleArray; Index: Integer; Len: Integer);Copies array content.

Overload 1: procedure CopyFromArray(const Src: TCplxArray; Index: Integer; Len: Integer);

Copies array content.

#NameTypeDescription
1SrcTCplxArray
2IndexIntegerstart index
3LenIntegerelement count

Result: stored in self (calling object)

Remarks:

Copies Len elements from the Src array and stores them in the calling object starting at location Index. The value of the Complex property and size of the calling objects are not modified.

Overload 2: procedure CopyFromArray(const Src: TDoubleArray; Index: Integer; Len: Integer);

Copies array content.

#NameTypeDescription
1SrcTDoubleArray
2IndexIntegerstart index
3LenIntegerelement count

Result: stored in self (calling object)

Remarks:

Copies Len elements from the Src array and stores them in the calling object starting at location Index. The value of the Complex property and size of the calling objects are not modified.