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

Function approx1

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

Source from the content-addressed store, hash-verified

17namespace cuda {
18template<typename Ty, typename Tp>
19void approx1(Array<Ty> &yo, const Array<Ty> &yi, const Array<Tp> &xo,
20 const int xdim, const Tp &xi_beg, const Tp &xi_step,
21 const af_interp_type method, const float offGrid) {
22 kernel::approx1<Ty, Tp>(yo, yi, xo, xdim, xi_beg, xi_step, offGrid, method,
23 interpOrder(method));
24}
25
26template<typename Ty, typename Tp>
27void approx2(Array<Ty> &zo, const Array<Ty> &zi, const Array<Tp> &xo,

Callers

nothing calls this directly

Calls 1

interpOrderFunction · 0.85

Tested by

no test coverage detected