TOpenCLVector.CopyFromArray Method

Overload List

#SignatureDescription
1void CopyFromArray(TCplx[] Src)Copies array content.
└ indexed: void CopyFromArray(TCplx[] Src, Int32 Index, Int32 Len)
2void CopyFromArray(Double[] Src)Copies array content.
└ indexed: void CopyFromArray(Double[] Src, Int32 Index, Int32 Len)
3void CopyFromArray(Single[] Src)Copies array content.
└ indexed: void CopyFromArray(Single[] Src, Int32 Index, Int32 Len)

Overload 1: void CopyFromArray(TCplx[] Src)

Copies array content.

#NameTypeDescription
1SrcTCplx[]

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: void CopyFromArray(TCplx[] Src, Int32 Index, Int32 Len)

Copies array content.

#NameTypeDescription
1SrcTCplx[]
2IndexInt32start index
3LenInt32element 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: void CopyFromArray(Double[] Src)

Copies array content.

#NameTypeDescription
1SrcDouble[]

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: void CopyFromArray(Double[] Src, Int32 Index, Int32 Len)

Copies array content.

#NameTypeDescription
1SrcDouble[]
2IndexInt32start index
3LenInt32element 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: void CopyFromArray(Single[] Src)

Copies array content.

#NameTypeDescription
1SrcSingle[]

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: void CopyFromArray(Single[] Src, Int32 Index, Int32 Len)

Copies array content.

#NameTypeDescription
1SrcSingle[]
2IndexInt32start index
3LenInt32element 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.