Reorder an array. More...
| Functions | |
| array | reorder (const array &in, const unsigned x, const unsigned y=1, const unsigned z=2, const unsigned w=3) | 
| C++ Interface to reorder an array. | |
| af_err | af_reorder (af_array *out, const af_array in, const unsigned x, const unsigned y, const unsigned z, const unsigned w) | 
| C Interface to reorder an array. | |
Reorder an array.
Exchanges data of an array such that the requested change in dimension is satisfied. The linear ordering of data within the array is preserved.
| af_err af_reorder | ( | af_array * | out, | 
| const af_array | in, | ||
| const unsigned | x, | ||
| const unsigned | y, | ||
| const unsigned | z, | ||
| const unsigned | w ) | 
C Interface to reorder an array.
| [out] | out | reordered array | 
| [in] | in | input array | 
| [in] | x | specifies which dimension should be first | 
| [in] | y | specifies which dimension should be second | 
| [in] | z | specifies which dimension should be third | 
| [in] | w | specifies which dimension should be fourth | 
| array reorder | ( | const array & | in, | 
| const unsigned | x, | ||
| const unsigned | y = 1, | ||
| const unsigned | z = 2, | ||
| const unsigned | w = 3 ) | 
C++ Interface to reorder an array.
| [in] | in | input array | 
| [in] | x | specifies which dimension should be first | 
| [in] | y | specifies which dimension should be second | 
| [in] | z | specifies which dimension should be third | 
| [in] | w | specifies which dimension should be fourth |