| 27 | namespace { |
| 28 | template<typename Ty, typename Tp> |
| 29 | inline void approx1(af_array *yo, const af_array yi, const af_array xo, |
| 30 | const int xdim, const Tp &xi_beg, const Tp &xi_step, |
| 31 | const af_interp_type method, const float offGrid) { |
| 32 | approx1<Ty>(getArray<Ty>(*yo), getArray<Ty>(yi), getArray<Tp>(xo), xdim, |
| 33 | xi_beg, xi_step, method, offGrid); |
| 34 | } |
| 35 | } // namespace |
| 36 | |
| 37 | template<typename Ty, typename Tp> |