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

Function rotate

src/backend/cuda/rotate.cpp:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18template<typename T>
19Array<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, \

Callers

nothing calls this directly

Calls 1

interpOrderFunction · 0.85

Tested by

no test coverage detected