| 33 | |
| 34 | template<typename InType> |
| 35 | af_array fft(const af_array in, const double norm_factor, const dim_t npad, |
| 36 | const dim_t *const pad, int rank, bool direction) { |
| 37 | using OutType = typename conditional<is_same<InType, double>::value || |
| 38 | is_same<InType, cdouble>::value, |
| 39 | cdouble, cfloat>::type; |
| 40 | return getHandle(fft<InType, OutType>(getArray<InType>(in), norm_factor, |
| 41 | npad, pad, rank, direction)); |
| 42 | } |
| 43 | |
| 44 | af_err fft(af_array *out, const af_array in, const double norm_factor, |
| 45 | const dim_t npad, const dim_t *const pad, const int rank, |
no test coverage detected