Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *CopyToArray(DewArray<TCplx> &Dst) const; | Copy values to an array. |
| 2 | TMtxVec *CopyToArray(DewArray<TCplx> &Dst, int DstIndex, int Index, int Len) const; | Copy complex values from the calling object [Index]..[Index+len-1] to the Dst array at positions [DstIndex]...[DstIndex+Len-1]. |
| 3 | TMtxVec *CopyToArray(DewArray<double> &Dst) const; | Copy values to Dst array. |
| 4 | TMtxVec *CopyToArray(DewArray<double> &Dst, int DstIndex, int Index, int Len) const; | Copy real or complex values from the calling object [Index]..[Index+len-1] to the Dst array at positions [DstIndex]...[DstIndex+Len-1]. |
| 5 | TMtxVec *CopyToArray(DewArray<float> &Dst) const; | Copies the calling object data to an array of single precision floating point data. |
| 6 | TMtxVec *CopyToArray(DewArray<float> &Dst, int DstIndex, int Index, int Len) const; | 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]. |
| 7 | TMtxVec *CopyToArray(DewArray<int> &Dst, TRounding Rounding) const; | Copies values from the calling object to the Dst array and converts floating point data to integer numbers. |
| 8 | TMtxVec *CopyToArray(DewArray<int> &Dst, TRounding Rounding, int DstIndex, int Index, int Len) const; | Copy real or complex values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex+Len-1]. |
| 9 | TMtxVec *CopyToArray(DewArray<short> &Dst, TRounding Rounding) const; | Copies values from the calling object to the Dst array and converts floating point data to 2 byte signed integer numbers. |
| 10 | TMtxVec *CopyToArray(DewArray<short> &Dst, TRounding Rounding, int DstIndex, int Index, int Len) const; | Copy real or complex values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex+Len-1]. |
| 11 | TMtxVec *CopyToArray(DewArray<unsigned char> &Dst, TRounding Rounding) const; | Copies values from the calling object to the Dst array and converts floating point data to 1 byte unsigned integer numbers. |
| 12 | TMtxVec *CopyToArray(DewArray<unsigned char> &Dst, TRounding Rounding, int DstIndex, int Index, int Len) const; | Copy real or complex values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex+Len-1]. |
| 13 | void CopyToArray(DewArray2D<double> &Dst) const; | Copies matrix values to a 2D array. |
| 14 | void CopyToArray(DewArray2D<TCplx> &Dst) const; | Copies all matrix values to a 2D array. |
Overload 1: TMtxVec *CopyToArray(DewArray<TCplx> &Dst) const;
Copy values to an array.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | DewArray<TCplx> & |
Copy complex values to Dst array. The size of the array is set automatically. If the calling object is not complex an exception will be raised.
Overload 2: TMtxVec *CopyToArray(DewArray<TCplx> &Dst, int DstIndex, int Index, int Len) const;
Copy complex values from the calling object [Index]..[Index+len-1] to the Dst array at positions [DstIndex]...[DstIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | DewArray<TCplx> & | |
| 2 | DstIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
The size of the Dst array is not changed.
Overload 3: TMtxVec *CopyToArray(DewArray<double> &Dst) const;
Copy values to Dst array.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | DewArray<double> & |
The size of the array is set automatically. If the calling object is complex, the size of the Dst array will be equal to 2*Matrix::Length. If the calling object is not complex an exception will be raised.
Overload 4: TMtxVec *CopyToArray(DewArray<double> &Dst, int DstIndex, int Index, int Len) const;
Copy real or complex values from the calling object [Index]..[Index+len-1] to the Dst array at positions [DstIndex]...[DstIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | DewArray<double> & | |
| 2 | DstIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
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.
Overload 5: TMtxVec *CopyToArray(DewArray<float> &Dst) const;
Copies the calling object data to an array of single precision floating point data.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | DewArray<float> & |
Any values exceeding the range are clipped.
Overload 6: TMtxVec *CopyToArray(DewArray<float> &Dst, int DstIndex, int Index, int Len) const;
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].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | DewArray<float> & | |
| 2 | DstIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
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.
Overload 7: TMtxVec *CopyToArray(DewArray<int> &Dst, TRounding Rounding) const;
Copies values from the calling object to the Dst array and converts floating point data to integer numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | DewArray<int> & | |
| 2 | Rounding | TRounding |
The rounding method used is specified with the Rounding parameter.
Overload 8: TMtxVec *CopyToArray(DewArray<int> &Dst, TRounding Rounding, int DstIndex, int Index, int Len) const;
Copy real or complex values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | DewArray<int> & | |
| 2 | Rounding | TRounding | |
| 3 | DstIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
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. The method converts floating point values to integer. Values exceeding the range of the integer type are clipped.
Overload 9: TMtxVec *CopyToArray(DewArray<short> &Dst, TRounding Rounding) const;
Copies values from the calling object to the Dst array and converts floating point data to 2 byte signed integer numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | DewArray<short> & | |
| 2 | Rounding | TRounding |
The rounding method used is specified with the Rounding parameter.
Overload 10: TMtxVec *CopyToArray(DewArray<short> &Dst, TRounding Rounding, int DstIndex, int Index, int Len) const;
Copy real or complex values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | DewArray<short> & | |
| 2 | Rounding | TRounding | |
| 3 | DstIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
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. The method converts floating point values to integers. Values exceeding the range of a 2 byte signed integer type are clipped.
Overload 11: TMtxVec *CopyToArray(DewArray<unsigned char> &Dst, TRounding Rounding) const;
Copies values from the calling object to the Dst array and converts floating point data to 1 byte unsigned integer numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | DewArray<unsigned char> & | |
| 2 | Rounding | TRounding |
The rounding method used is specified with the Rounding parameter.
Overload 12: TMtxVec *CopyToArray(DewArray<unsigned char> &Dst, TRounding Rounding, int DstIndex, int Index, int Len) const;
Copy real or complex values from the calling object [Index]..[Index+len-1] to the Dst integer array at positions [DstIndex]...[DstIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | DewArray<unsigned char> & | |
| 2 | Rounding | TRounding | |
| 3 | DstIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
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. The method converts floating point values to integers. Values exceeding the range of 1 byte unsigned integer type are clipped.
Overload 13: void CopyToArray(DewArray2D<double> &Dst) const;
Copies matrix values to a 2D array.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | DewArray2D<double> & |
Copies all matrix values to a 2D array. The rows of the array will have two times as many columns, if the calling matrix object is Complex.
Overload 14: void CopyToArray(DewArray2D<TCplx> &Dst) const;
Copies all matrix values to a 2D array.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | DewArray2D<TCplx> & |