|
Sort input arrays. More...
Functions | |
AFAPI array | sort (const array &in, const unsigned dim=0, const bool isAscending=true) |
C++ Interface for sorting an array. More... | |
AFAPI af_err | af_sort (af_array *out, const af_array in, const unsigned dim, const bool isAscending) |
C Interface for sorting an array. More... | |
Sort input arrays.
Sort an multi dimensional array
AFAPI af_err af_sort | ( | af_array * | out, |
const af_array | in, | ||
const unsigned | dim, | ||
const bool | isAscending | ||
) |
C Interface for sorting an array.
[out] | out | will contain the sorted output |
[in] | in | is the input array |
[in] | dim | The dimension along which numerical difference is performed |
[in] | isAscending | specifies the sorting order |
C++ Interface for sorting an array.
[in] | in | is the input array |
[in] | dim | The dimension along which numerical difference is performed |
[in] | isAscending | specifies the sorting order |