TOpenCLMatrix.CopyFromArray Method

Overload List

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

Overload 1: procedure CopyFromArray(const Src: TCplxArray);

Copies array content.

#NameTypeDescription
1SrcTCplxArray

Result: stored in self (calling object)

Remarks:

Sets the size of the object to match the size of the Src array and copies the contents in to the calling object.

Indexed: 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);

Copies array content.

#NameTypeDescription
1SrcTDoubleArray

Result: stored in self (calling object)

Remarks:

Sets the size of the object to match the size of the Src array and copies the contents in to the calling object.

Indexed: 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.

Overload 3: procedure CopyFromArray(const Src: TSingleArray);

Copies array content.

#NameTypeDescription
1SrcTSingleArray

Result: stored in self (calling object)

Remarks:

Sets the size of the object to match the size of the Src array and copies the contents in to the calling object.

Indexed: procedure CopyFromArray(const Src: TSingleArray; Index: Integer; Len: Integer);

Copies array content.

#NameTypeDescription
1SrcTSingleArray
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.