Skip to content

Function realdft

function realdft(const univector<T, Tag> &) dft

template <typename T, univector_tag Tag>
univector<complex<T>> realdft(const univector<T, Tag>& input)

Performs the direct (forward) real-to-complex DFT using a cached plan.

Template parameters
T Floating-point type ( float or double ).
Tag Storage tag of the input univector.
Parameters
input Input real univector of \(N\) samples.
Returns
Output complex univector of \(\frac{N}{2}+1\) samples (Hermitian-symmetric spectrum).

Note

No scaling is applied.

Fully qualified name: kfr::realdft(const univector<T, Tag> &)

Declared at dft/cache.hpp:191

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.