clVector::Copy Method

Overload List

#SignatureDescription
1void Copy(TVecInt *Src) const;
2void Copy(TVec *Src) const;
3TOpenCLMtxVec *Copy(TOpenCLMtxVec *Vec) const;Copy object values.
4TOpenCLMtxVec *Copy(TOpenCLMtxVec *Vec, int VecIndex, int Index, int Len) const;Copy Vec elements [VecIndex]..[VecIndex+Len-1] in the calling object elements [Index]..[Index+Len-1].

Overload 1: void Copy(TVecInt *Src) const;

#NameTypeDescription
1SrcTVecInt *
Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 2: void Copy(TVec *Src) const;

#NameTypeDescription
1SrcTVec *
Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 3: TOpenCLMtxVec *Copy(TOpenCLMtxVec *Vec) const;

Copy object values.

#NameTypeDescription
1VecTOpenCLMtxVec *
Remarks:

Copy each of Vec elements to the calling object. Size and clVector::Complex properties of the calling object are set implicitly to match Vec object.

See Also: clVector::Assign
Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 4: TOpenCLMtxVec *Copy(TOpenCLMtxVec *Vec, int VecIndex, int Index, int Len) const;

Copy Vec elements [VecIndex]..[VecIndex+Len-1] in the calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1VecTOpenCLMtxVec *
2VecIndexint
3Indexint
4Lenint
Remarks:

Size and clVector::Complex properties must be set explicitly. An exception is raised if array borders are overrun or underrun.

Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler