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

Function flip

src/api/c/flip.cpp:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34template<typename T>
35static inline af_array flip(const af_array in, const unsigned dim) {
36 return getHandle(
37 flip(getArray<T>(in), {dim == 0, dim == 1, dim == 2, dim == 3}));
38}
39
40af_err af_flip(af_array *result, const af_array in, const unsigned dim) {
41 af_array out;

Callers 5

TESTFunction · 0.50
Test_flip_1DFunction · 0.50
TESTFunction · 0.50
initFunction · 0.50
mainFunction · 0.50

Calls 1

getHandleFunction · 0.70

Tested by 1

Test_flip_1DFunction · 0.40