qm-dsp
1.8
|
FFT Class Reference
#include <FFT.h>
Classes | |
class | D |
Public Member Functions | |
FFT (int nsamples) | |
Construct an FFT object to carry out complex-to-complex transforms of size nsamples. More... | |
~FFT () | |
void | process (bool inverse, const double *realIn, const double *imagIn, double *realOut, double *imagOut) |
Carry out a forward or inverse transform (depending on the value of inverse) of size nsamples, where nsamples is the value provided to the constructor above. More... | |
Private Attributes | |
D * | m_d |
Detailed Description
Constructor & Destructor Documentation
FFT::FFT | ( | int | nsamples | ) |
Member Function Documentation
void FFT::process | ( | bool | inverse, |
const double * | realIn, | ||
const double * | imagIn, | ||
double * | realOut, | ||
double * | imagOut | ||
) |
Carry out a forward or inverse transform (depending on the value of inverse) of size nsamples, where nsamples is the value provided to the constructor above.
realIn and (where present) imagIn should contain nsamples each, and realOut and imagOut should point to enough space to receive nsamples each.
imagIn may be NULL if the signal is real, but the other pointers must be valid.
The inverse transform is scaled by 1/nsamples.
Definition at line 91 of file FFT.cpp.
References m_d, and FFT::D::process().
Referenced by ConstantQ::sparsekernel().
Member Data Documentation
The documentation for this class was generated from the following files:
Generated by 1.8.11