TOpenCLMatrix.CopyCplxFromArray Method

Overload List

#SignatureDescription
1function CopyCplxFromArray(const Src: TDoubleArray): TOpenCLMtxVec;Copies array content.
└ indexed: function CopyCplxFromArray(const Src: TDoubleArray; Index: Integer; Len: Integer): TOpenCLMtxVec;
2function CopyCplxFromArray(const Src: TSingleArray): TOpenCLMtxVec;Copies array content.
└ indexed: function CopyCplxFromArray(const Src: TSingleArray; Index: Integer; Len: Integer): TOpenCLMtxVec;

Overload 1: function CopyCplxFromArray(const Src: TDoubleArray): TOpenCLMtxVec;

Copies array content.

#NameTypeDescription
1SrcTDoubleArray

Result: stored in self (calling object), returns self for chaining

Remarks:

Sets the size of the object to match the size of the Src array and copies the contents in to the calling object. The complex property is set to True.

Indexed: function CopyCplxFromArray(const Src: TDoubleArray; Index: Integer; Len: Integer): TOpenCLMtxVec;

Copies array content.

#NameTypeDescription
1SrcTDoubleArray
2IndexIntegerstart index
3LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Remarks:

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

Overload 2: function CopyCplxFromArray(const Src: TSingleArray): TOpenCLMtxVec;

Copies array content.

#NameTypeDescription
1SrcTSingleArray

Result: stored in self (calling object), returns self for chaining

Remarks:

Sets the size of the object to match the size of the Src array and copies the contents in to the calling object. The complex property is set to True.

Indexed: function CopyCplxFromArray(const Src: TSingleArray; Index: Integer; Len: Integer): TOpenCLMtxVec;

Copies array content.

#NameTypeDescription
1SrcTSingleArray
2IndexIntegerstart index
3LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Remarks:

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