TVec::CopyTo Method

Overload List

#SignatureDescription
1void CopyTo(TMtxVecInt *Dst, const TRounding Rounding);Copy and convert values to TVecInt.
2void CopyTo(TMtxVec *Dst, const TMtxFloatPrecision dstFloatPrecision);Copy and convert values to specified dstFloatPrecision.
3void CopyTo(TMtxVec *Dst, const int DstIndex, const int Index, int Len);Copy and convert values to Dst.FloatPrecision at indexes [DstIndex]...[DstIndex+Len-1].
4void CopyTo(TMtxVec *Dst);Copy and if needed convert values to Dst, but keep Dst.FloatPrecision.
5void CopyTo(TMtxVecInt *Dst, const TRounding Rounding, int DstIndex, int Index, int Len);Copy and convert values to TVecInt at indexes [DstIndex]...[DstIndex+Len-1].

Overload 1: void CopyTo(TMtxVecInt *Dst, const TRounding Rounding);

Copy and convert values to TVecInt.

#NameTypeDescription
1DstTMtxVecInt *
2Roundingconst TRounding
Remarks:

Applies appropriate conversion and copy data to TVecInt. The value TVecInt.IntPrecision is preserved.

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

Overload 2: void CopyTo(TMtxVec *Dst, const TMtxFloatPrecision dstFloatPrecision);

Copy and convert values to specified dstFloatPrecision.

#NameTypeDescription
1DstTMtxVec *
2dstFloatPrecisionconst TMtxFloatPrecision
Remarks:

Dst will be sized to hold all calling object data in specified dstFloatPrecision. The single/double and Complex/Not Complex conversion cant be handled concurrently.

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

Overload 3: void CopyTo(TMtxVec *Dst, const int DstIndex, const int Index, int Len);

Copy and convert values to Dst.FloatPrecision at indexes [DstIndex]...[DstIndex+Len-1].

#NameTypeDescription
1DstTMtxVec *
2DstIndexconst int
3Indexconst int
4Lenint
Remarks:

Applies appropriate conversion and copy data from Src. The results are stored in Dst object elements [Index]...[Index+Len-1]. Size and TVec::FloatPrecision properties of the destination 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 4: void CopyTo(TMtxVec *Dst);

Copy and if needed convert values to Dst, but keep Dst.FloatPrecision.

#NameTypeDescription
1DstTMtxVec *
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 5: void CopyTo(TMtxVecInt *Dst, const TRounding Rounding, int DstIndex, int Index, int Len);

Copy and convert values to TVecInt at indexes [DstIndex]...[DstIndex+Len-1].

#NameTypeDescription
1DstTMtxVecInt *
2Roundingconst TRounding
3DstIndexint
4Indexint
5Lenint
Remarks:

Applies appropriate conversion and copy data from TVecInt. The results are stored in to Dst object elements [Index]...[Index+Len-1]. Size and TMtxVecInt::IntPrecision properties of the destination 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