TMtxVecSample::CopyToArray Method

Overload List

#SignatureDescription
1TMtxVecBase *CopyToArray(DewArray<double> &Dst);Copy values to Dst array. The size of the array is set automatically.
2TMtxVecBase *CopyToArray(DewArray<double> &Dst, int DstIndex, int Index, int Len);Copy real or complex values from the calling object [Index]..[Index+len-1] to the Dst array at positions [DstIndex]...[DstIndex+Len-1].
3TMtxVecBase *CopyToArray(DewArray<float> &Dst);Copies the calling object data to an array of single precision floating point data.
4TMtxVecBase *CopyToArray(DewArray<float> &Dst, int DstIndex, int Index, int Len);Copy real or complex values from the calling object [Index]..[Index+len-1] to the Dst single precision floating point array at positions [DstIndex]...[DstIndex+Len-1].

Overload 1: TMtxVecBase *CopyToArray(DewArray<double> &Dst);

Copy values to Dst array. The size of the array is set automatically.

#NameTypeDescription
1DstDewArray<double> &
Remarks:

If the calling object is complex, the size of the Dst array will be equal to 2*TMtxVecSample::Length. If the calling object is not complex an exception will be raised.

Declared in Dew::Math::TMtxVecBase · Dew.Math/MtxVecBase.h · Cross-compiler

Overload 2: TMtxVecBase *CopyToArray(DewArray<double> &Dst, int DstIndex, int Index, int Len);

Copy real or complex values from the calling object [Index]..[Index+len-1] to the Dst array at positions [DstIndex]...[DstIndex+Len-1].

#NameTypeDescription
1DstDewArray<double> &
2DstIndexint
3Indexint
4Lenint
Remarks:

The size of the Dst array is not changed. If the calling object is complex, the Index and Len parameters define the number of complex elements.

Declared in Dew::Math::TMtxVecBase · Dew.Math/MtxVecBase.h · Cross-compiler

Overload 3: TMtxVecBase *CopyToArray(DewArray<float> &Dst);

Copies the calling object data to an array of single precision floating point data.

#NameTypeDescription
1DstDewArray<float> &
Remarks:

Any values exceeding the range are clipped.

Declared in Dew::Math::TMtxVecBase · Dew.Math/MtxVecBase.h · Cross-compiler

Overload 4: TMtxVecBase *CopyToArray(DewArray<float> &Dst, int DstIndex, int Index, int Len);

Copy real or complex values from the calling object [Index]..[Index+len-1] to the Dst single precision floating point array at positions [DstIndex]...[DstIndex+Len-1].

#NameTypeDescription
1DstDewArray<float> &
2DstIndexint
3Indexint
4Lenint
Remarks:

The size of the Dst array is not changed. If the calling object is complex, the Index and Len parameters define the number of complex elements.

Declared in Dew::Math::TMtxVecBase · Dew.Math/MtxVecBase.h · Cross-compiler