Matrix.CopyTo Method

Overload List

#SignatureDescription
1void CopyTo(TMtxInt Dst, TRounding Rounding)Copy and convert values to TMtxInt.
└ indexed: void CopyTo(TMtxInt Dst, TRounding Rounding, Int32 DstIndex, Int32 Index, Int32 Len)
2void CopyTo(TMtxVec Dst)Copy and if needed convert values to Dst.
└ indexed: void CopyTo(TMtxVec Dst, Int32 DstIndex, Int32 Index, Int32 Len)
3void CopyTo(TMtxVec Dst, TMtxFloatPrecision dstFloatPrecision)Copy and convert values to specified dstFloatPrecision.
4void CopyTo(TVecInt Dst, TRounding Rounding)Copy and convert values to TVecInt.
└ indexed: void CopyTo(TVecInt Dst, TRounding Rounding, Int32 DstIndex, Int32 Index, Int32 Len)

Overload 1: void CopyTo(TMtxInt Dst, TRounding Rounding)

Copy and convert values to TMtxInt.

#NameTypeDescription
1DstTMtxIntsource TMtxInt
2RoundingTRounding

Result: stored in self (calling object)

Remarks:

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

Indexed: void CopyTo(TMtxInt Dst, TRounding Rounding, Int32 DstIndex, Int32 Index, Int32 Len)

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

#NameTypeDescription
1DstTMtxIntsource TMtxInt
2RoundingTRounding
3DstIndexInt32destination start index
4IndexInt32start index
5LenInt32element count

Result: stored in self (calling object)

Remarks:

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

Overload 2: void CopyTo(TMtxVec Dst)

Copy and if needed convert values to Dst.

#NameTypeDescription
1DstTMtxVecsource TVec or TMtx

Result: stored in self (calling object)

Remarks:

Existing value of Dst.FloatPrecision is preserved.

Indexed: void CopyTo(TMtxVec Dst, Int32 DstIndex, Int32 Index, Int32 Len)

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

#NameTypeDescription
1DstTMtxVecsource TVec or TMtx
2DstIndexInt32destination start index
3IndexInt32start index
4LenInt32element count

Result: stored in self (calling object)

Remarks:

Applies appropriate conversion and copy data from the calling object. The results are stored in Dst object elements [Index]...[Index+Len-1]. Size and Dew.Math.TMtxVec.FloatPrecision properties of the destination object must be set explicitly. An exception is raised if array borders are overrun.

Overload 3: void CopyTo(TMtxVec Dst, TMtxFloatPrecision dstFloatPrecision)

Copy and convert values to specified dstFloatPrecision.

#NameTypeDescription
1DstTMtxVecsource TVec or TMtx
2dstFloatPrecisionTMtxFloatPrecision

Result: stored in self (calling object)

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.

Overload 4: void CopyTo(TVecInt Dst, TRounding Rounding)

Copy and convert values to TVecInt.

#NameTypeDescription
1DstTVecIntsource TVecInt
2RoundingTRounding

Result: stored in self (calling object)

Remarks:

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

Indexed: void CopyTo(TVecInt Dst, TRounding Rounding, Int32 DstIndex, Int32 Index, Int32 Len)

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

#NameTypeDescription
1DstTVecIntsource TVecInt
2RoundingTRounding
3DstIndexInt32destination start index
4IndexInt32start index
5LenInt32element count

Result: stored in self (calling object)

Remarks:

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