Sort an array over a given dimension. More...
Functions | |
| array | sort (const array &in, const unsigned dim=0, const bool isAscending=true) |
| C++ Interface to sort an array over a given dimension. | |
| af_err | af_sort (af_array *out, const af_array in, const unsigned dim, const bool isAscending) |
| C Interface to sort an array over a given dimension. | |
Sort an array over a given dimension.
C Interface to sort an array over a given dimension.
| [out] | out | sorted output |
| [in] | in | input array |
| [in] | dim | dimension along which the sort occurs |
| [in] | isAscending | specifies the sorting order |
C++ Interface to sort an array over a given dimension.
| [in] | in | input array |
| [in] | dim | dimension along which the sort occurs, 0 denotes the first non-singleton dimension |
| [in] | isAscending | specifies the sorting order |