TMtxInt::CopyToArray Method

Overload List

#SignatureDescription
1TMtxVecInt *CopyToArray(DewArray<short> &Dst);Copies values from the calling object to the Dst array and converts values to to 2 byte signed integer numbers.
2TMtxVecInt *CopyToArray(DewArray<short> &Dst, int DstIndex, int Index, int Len);Copy values from the calling object [Index]..[Index+len-1] to the Dst 2 byte signed integer array at positions [DstIndex]...[DstIndex+Len-1].
3TMtxVecInt *CopyToArray(DewArray<TCplx> &Dst);Copies values from the calling object to the Dst array and converts data to complex double precision numbers.
4TMtxVecInt *CopyToArray(DewArray<TCplx> &Dst, int DstIndex, int Index, int Len);Copy values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex + Len/2 - 1].
5TMtxVecInt *CopyToArray(DewArray<TSCplx> &Dst);Copies values from the calling object to the Dst array and converts data to complex double precision numbers.
6TMtxVecInt *CopyToArray(DewArray<TSCplx> &Dst, int DstIndex, int Index, int Len);Copy values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex + Len/2 - 1].
7TMtxVecInt *CopyToArray(DewArray<int> &Dst);Copies values from the calling object to the Dst array and converts data to 4 byte signed integer numbers.
8TMtxVecInt *CopyToArray(DewArray<int> &Dst, int DstIndex, int Index, int Len);Copy values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex+Len-1].
9TMtxVecInt *CopyToArray(DewArray<unsigned short> &Dst);Copies values from the calling object to the Dst array and converts data to 2 byte unsigned integer numbers.
10TMtxVecInt *CopyToArray(DewArray<unsigned short> &Dst, int DstIndex, int Index, int Len);Copy integer values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex+Len-1].
11TMtxVecInt *CopyToArray(DewArray<unsigned char> &Dst);Copies values from the calling object to the Dst array and converts data to 1 byte unsigned integer numbers.
12TMtxVecInt *CopyToArray(DewArray<unsigned char> &Dst, int DstIndex, int Index, int Len);Copy values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex+Len-1].
13TMtxVecBase *CopyToArray(DewArray<double> &Dst);Copy values to Dst array. The size of the array is set automatically.
14TMtxVecBase *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].
15TMtxVecBase *CopyToArray(DewArray<float> &Dst);Copies the calling object data to an array of single precision floating point data.
16TMtxVecBase *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].
17void CopyToArray(DewArray2D<int> &Dst);Copies matrix values to a 2D array.
18void CopyToArray(DewArray2D<short> &Dst);Copies all matrix values to a 2D array.
19void CopyToArray(DewArray2D<unsigned char> &Dst);Copies all matrix values to a 2D array.

Overload 1: TMtxVecInt *CopyToArray(DewArray<short> &Dst);

Copies values from the calling object to the Dst array and converts values to to 2 byte signed integer numbers.

#NameTypeDescription
1DstDewArray<short> &
Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

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

Copy values from the calling object [Index]..[Index+len-1] to the Dst 2 byte signed integer array at positions [DstIndex]...[DstIndex+Len-1].

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

The size of the Dst array is not changed. The method converts calling object values to 2 byte signed integers. Values exceeding the range of a 2 byte signed integer type are clipped.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 3: TMtxVecInt *CopyToArray(DewArray<TCplx> &Dst);

Copies values from the calling object to the Dst array and converts data to complex double precision numbers.

#NameTypeDescription
1DstDewArray<TCplx> &
Remarks:

Consecutive elements are converted to real and imaginary parts.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

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

Copy values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex + Len/2 - 1].

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

The size of the Dst array is not changed. The method converts calling object values to complex double precision floating point values. Consecutive elements become real and imaginary parts. Index and Len apply to the integer source array and DstIndex applies to the destination complex array.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 5: TMtxVecInt *CopyToArray(DewArray<TSCplx> &Dst);

Copies values from the calling object to the Dst array and converts data to complex double precision numbers.

#NameTypeDescription
1DstDewArray<TSCplx> &
Remarks:

Consecutive elements are converted to real and imaginary parts.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 6: TMtxVecInt *CopyToArray(DewArray<TSCplx> &Dst, int DstIndex, int Index, int Len);

Copy values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex + Len/2 - 1].

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

The size of the Dst array is not changed. The method converts calling object values to complex double precision floating point values. Consecutive elements become real and imaginary parts. Index and Len apply to the integer source array and DstIndex applies to the destination complex array.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 7: TMtxVecInt *CopyToArray(DewArray<int> &Dst);

Copies values from the calling object to the Dst array and converts data to 4 byte signed integer numbers.

#NameTypeDescription
1DstDewArray<int> &
Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 8: TMtxVecInt *CopyToArray(DewArray<int> &Dst, int DstIndex, int Index, int Len);

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

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

The size of the Dst array is not changed. The method converts calling object values to 4 byte signed integers. Values exceeding the range of a 4 byte signed integer type are clipped.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 9: TMtxVecInt *CopyToArray(DewArray<unsigned short> &Dst);

Copies values from the calling object to the Dst array and converts data to 2 byte unsigned integer numbers.

#NameTypeDescription
1DstDewArray<unsigned short> &
Remarks:

Values exceeding the range of a 2 byte unsigned integer type are clipped.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 10: TMtxVecInt *CopyToArray(DewArray<unsigned short> &Dst, int DstIndex, int Index, int Len);

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

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

The size of the Dst array is not changed. The method converts calling object values to 2 byte unsigned integers. Values exceeding the range of a 2 byte unsigned integer type are clipped.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 11: TMtxVecInt *CopyToArray(DewArray<unsigned char> &Dst);

Copies values from the calling object to the Dst array and converts data to 1 byte unsigned integer numbers.

#NameTypeDescription
1DstDewArray<unsigned char> &
Remarks:

Values exceeding the range of a 1 byte unsigned integer type are clipped.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 12: TMtxVecInt *CopyToArray(DewArray<unsigned char> &Dst, int DstIndex, int Index, int Len);

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

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

The size of the Dst array is not changed. The method converts calling object values to 1 byte unsigned integers. Values exceeding the range of 1 byte unsigned integer type are clipped.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 13: 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*TMtxInt::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 14: 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 15: 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 16: 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

Overload 17: void CopyToArray(DewArray2D<int> &Dst);

Copies matrix values to a 2D array.

#NameTypeDescription
1DstDewArray2D<int> &
Remarks:

Copies all matrix values to a 2D array.

Declared in Dew::Math::TMtxInt · Dew.Math/MtxVecInt.h · Cross-compiler

Overload 18: void CopyToArray(DewArray2D<short> &Dst);

Copies all matrix values to a 2D array.

#NameTypeDescription
1DstDewArray2D<short> &
Declared in Dew::Math::TMtxInt · Dew.Math/MtxVecInt.h · Cross-compiler

Overload 19: void CopyToArray(DewArray2D<unsigned char> &Dst);

Copies all matrix values to a 2D array.

#NameTypeDescription
1DstDewArray2D<unsigned char> &
Declared in Dew::Math::TMtxInt · Dew.Math/MtxVecInt.h · Cross-compiler