TVec::Copy Method

Overload List

#SignatureDescription
1TMtxVec *Copy(TMtxVec *Src);Copy object values.
2TMtxVec *Copy(TMtxVec *Src, const TMtxFloatPrecision dstFloatPrecision);Copy object values.
3TMtxVec *Copy(TMtxVec *Vec, int VecIndex, int Index, int Len);Copy Vec elements [VecIndex]..[VecIndex+Len-1] in the calling object elements [Index]..[Index+Len-1].
4TMtxVec *Copy(TMtxVecInt *Src, int SrcIndex, int Index, int Len);Copy and convert values from TVecInt at indexes [SrcIndex]...[SrcIndex+Len-1].
5void Copy(TMtxVec *Src, TMtxVec *Dst, const int SrcIdx, const int DstIdx, const int Len);
6TVec *Copy(TMtxVec *Vec1, TMtxVec *Vec2);Copies values from Vec1 and Vec2 (concatenate).
7TMtxVec *Copy(TMtxVecInt *Src, const TMtxFloatPrecision dstFloatPrecision);

Overload 1: TMtxVec *Copy(TMtxVec *Src);

Copy object values.

#NameTypeDescription
1SrcTMtxVec *
Remarks:

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

See Also: TVec::Assign
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 2: TMtxVec *Copy(TMtxVec *Src, const TMtxFloatPrecision dstFloatPrecision);

Copy object values.

#NameTypeDescription
1SrcTMtxVec *
2dstFloatPrecisionconst TMtxFloatPrecision
Remarks:

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

See Also: TVec::Assign
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 3: TMtxVec *Copy(TMtxVec *Vec, int VecIndex, int Index, int Len);

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

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

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

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 4: TMtxVec *Copy(TMtxVecInt *Src, int SrcIndex, int Index, int Len);

Copy and convert values from TVecInt at indexes [SrcIndex]...[SrcIndex+Len-1].

#NameTypeDescription
1SrcTMtxVecInt *
2SrcIndexint
3Indexint
4Lenint
Remarks:

Applies appropriate conversion and copy data from TVecInt. The results are stored in calling object elements [Index]...[Index+Len-1]. Size and TVec::Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 5: void Copy(TMtxVec *Src, TMtxVec *Dst, const int SrcIdx, const int DstIdx, const int Len);

#NameTypeDescription
1SrcTMtxVec *
2DstTMtxVec *
3SrcIdxconst int
4DstIdxconst int
5Lenconst int
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 6: TVec *Copy(TMtxVec *Vec1, TMtxVec *Vec2);

Copies values from Vec1 and Vec2 (concatenate).

#NameTypeDescription
1Vec1TMtxVec *
2Vec2TMtxVec *
Remarks:

Copy each of Vec1 and Vec2 elements to the calling vector (concatenate). The TVec::Length and TVec::Complex properties of the calling vector are set implicitly to match Vec1 and Vec2 vector.

See Also: TVec::Assign, TVec::CopyMtx
Declared in Dew::Math::TVec · Dew.Math/MtxVec.h · Cross-compiler

Overload 7: TMtxVec *Copy(TMtxVecInt *Src, const TMtxFloatPrecision dstFloatPrecision);

#NameTypeDescription
1SrcTMtxVecInt *
2dstFloatPrecisionconst TMtxFloatPrecision
Declared in Dew::Math::TVec · Dew.Math/MtxVec.h · Cross-compiler