| 33 | |
| 34 | template<typename T> |
| 35 | static 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 | |
| 40 | af_err af_flip(af_array *result, const af_array in, const unsigned dim) { |
| 41 | af_array out; |