MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / sort

Function sort

src/api/c/sort.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36template<typename T>
37static inline af_array sort(const af_array in, const unsigned dim,
38 const bool isAscending) {
39 const Array<T> &inArray = getArray<T>(in);
40 return getHandle(sort<T>(inArray, dim, isAscending));
41}
42
43af_err af_sort(af_array *out, const af_array in, const unsigned dim,
44 const bool isAscending) {

Callers 15

TESTFunction · 0.50
median_flatFunction · 0.50
median_testFunction · 0.50
TESTFunction · 0.50
harrisTestFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
orbTestFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
deathTestFunction · 0.50
TESTFunction · 0.50

Calls 1

getHandleFunction · 0.70

Tested by 2

deathTestFunction · 0.40
toCooVectorFunction · 0.40