| 171 | |
| 172 | template<> |
| 173 | AFAPI array fftR2C<1>(const array& in, const dim4& dims, |
| 174 | const double norm_factor) { |
| 175 | af_array res; |
| 176 | AF_THROW(af_fft_r2c(&res, in.get(), norm_factor == 0 ? 1.0 : norm_factor, |
| 177 | dims[0])); |
| 178 | return array(res); |
| 179 | } |
| 180 | |
| 181 | template<> |
| 182 | AFAPI array fftR2C<2>(const array& in, const dim4& dims, |
no test coverage detected