| 319 | |
| 320 | template <typename T> |
| 321 | SimpleTensor<T> ridft_1d(const SimpleTensor<T> &src, bool is_odd) |
| 322 | { |
| 323 | auto dst = rdft_1d_core(src, FFTDirection::Inverse, is_odd); |
| 324 | |
| 325 | const T scaling_factor = T(dst.shape()[0]); |
| 326 | scale(dst, scaling_factor); |
| 327 | |
| 328 | return dst; |
| 329 | } |
| 330 | |
| 331 | template <typename T> |
| 332 | SimpleTensor<T> dft_1d(const SimpleTensor<T> &src, FFTDirection direction) |
no test coverage detected