TOpenCLMatrix.CopyFromArray Method

Overload List

#SignatureDescription
1function CopyFromArray(aRows, aCols: integer; const Src: TCplxArray): TOpenCLMtxVec; overload;
2function CopyFromArray(aRows, aCols: integer; const Src: TDoubleArray): TOpenCLMtxVec; overload;
3function CopyFromArray(aRows, aCols: integer; const Src: TSingleArray): TOpenCLMtxVec; overload;
4procedure CopyFromArray(const Src: TCplxArray); overload;Copies array content.
└ indexed: procedure CopyFromArray(const Src: TCplxArray; Index, Len: integer); overload;
5procedure CopyFromArray(const Src: TDoubleArray); overload;Copies array content.
└ indexed: procedure CopyFromArray(const Src: TDoubleArray; Index, Len: integer); overload;
6procedure CopyFromArray(const Src: TSingleArray); overload;Copies array content.
└ indexed: procedure CopyFromArray(const Src: TSingleArray; Index, Len: integer); overload;

Overload 1: function CopyFromArray(aRows, aCols: integer; const Src: TCplxArray): TOpenCLMtxVec; overload;

#NameTypeDescription
1aRowsinteger
2aColsinteger
3SrcTCplxArray

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

Overload 2: function CopyFromArray(aRows, aCols: integer; const Src: TDoubleArray): TOpenCLMtxVec; overload;

#NameTypeDescription
1aRowsinteger
2aColsinteger
3SrcTDoubleArray

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

Overload 3: function CopyFromArray(aRows, aCols: integer; const Src: TSingleArray): TOpenCLMtxVec; overload;

#NameTypeDescription
1aRowsinteger
2aColsinteger
3SrcTSingleArray

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

Overload 4: procedure CopyFromArray(const Src: TCplxArray); overload;

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, Len: integer); overload;

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 5: procedure CopyFromArray(const Src: TDoubleArray); overload;

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, Len: integer); overload;

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 6: procedure CopyFromArray(const Src: TSingleArray); overload;

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, Len: integer); overload;

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.