| 17 | |
| 18 | template<typename T> |
| 19 | Array<T> rotate(const Array<T> &in, const float theta, const af::dim4 &odims, |
| 20 | const af_interp_type method) { |
| 21 | Array<T> out = createEmptyArray<T>(odims); |
| 22 | kernel::rotate<T>(out, in, theta, method, interpOrder(method)); |
| 23 | return out; |
| 24 | } |
| 25 | |
| 26 | #define INSTANTIATE(T) \ |
| 27 | template Array<T> rotate(const Array<T> &in, const float theta, \ |
nothing calls this directly
no test coverage detected