| 237 | |
| 238 | template<typename InType> |
| 239 | static af_array fft_c2r(const af_array in, const double norm_factor, |
| 240 | const dim4 &odims, const int rank) { |
| 241 | using OutType = typename conditional<is_same<InType, cdouble>::value, |
| 242 | double, float>::type; |
| 243 | return getHandle(fft_c2r<InType, OutType>(getArray<InType>(in), norm_factor, |
| 244 | odims, rank)); |
| 245 | } |
| 246 | |
| 247 | af_err fft_c2r(af_array *out, const af_array in, const double norm_factor, |
| 248 | const bool is_odd, const int rank) { |