| 66 | |
| 67 | template<typename inType, typename outType> |
| 68 | detail::Array<outType> fft_c2r(const detail::Array<inType> input, |
| 69 | const double norm_factor, const af::dim4 &odims, |
| 70 | const int rank) { |
| 71 | using detail::Array; |
| 72 | using detail::fft_c2r; |
| 73 | using detail::multiply_inplace; |
| 74 | |
| 75 | Array<outType> output = fft_c2r<outType, inType>(input, odims, rank); |
| 76 | |
| 77 | if (norm_factor != 1) { |
| 78 | // Normalize input because tmp was not normalized |
| 79 | multiply_inplace(output, norm_factor); |
| 80 | } |
| 81 | |
| 82 | return output; |
| 83 | } |
nothing calls this directly
no test coverage detected