#include <srfft.h>
Public Member Functions | |
SplitRadixRealFft (MatrixIndexT N) | |
SplitRadixRealFft (const SplitRadixRealFft< Real > &other) | |
void | Compute (Real *x, bool forward) |
If forward == true, this function transforms from a sequence of N real points to its complex fourier transform; otherwise it goes in the reverse direction. More... | |
void | Compute (Real *x, bool forward, std::vector< Real > *temp_buffer) const |
This is as the other Compute() function, but it is a const version that uses a user-supplied buffer. More... | |
Private Member Functions | |
SplitRadixRealFft & | operator= (const SplitRadixRealFft< Real > &other) |
Private Member Functions inherited from SplitRadixComplexFft< Real > | |
SplitRadixComplexFft (Integer N) | |
SplitRadixComplexFft (const SplitRadixComplexFft &other) | |
void | Compute (Real *xr, Real *xi, bool forward) const |
void | Compute (Real *x, bool forward) |
void | Compute (Real *x, bool forward, std::vector< Real > *temp_buffer) const |
~SplitRadixComplexFft () | |
Private Attributes | |
int | N_ |
Private Attributes inherited from SplitRadixComplexFft< Real > | |
std::vector< Real > | temp_buffer_ |
Additional Inherited Members | |
Private Types inherited from SplitRadixComplexFft< Real > | |
typedef MatrixIndexT | Integer |
|
inline |
|
inline |
void Compute | ( | Real * | x, |
bool | forward | ||
) |
If forward == true, this function transforms from a sequence of N real points to its complex fourier transform; otherwise it goes in the reverse direction.
If you call it in the forward and then reverse direction and multiply by 1.0/N, you will get back the original data. The interpretation of the complex-FFT data is as follows: the array is a sequence of complex numbers C_n of length N/2 with (real, im) format, i.e. [real0, real_{N/2}, real1, im1, real2, im2, real3, im3, ...].
Definition at line 356 of file srfft.cc.
Referenced by kaldi::FFTbasedBlockConvolveSignals(), kaldi::FFTbasedConvolveSignals(), kaldi::UnitTestSplitRadixRealFft(), and kaldi::UnitTestSplitRadixRealFftSpeed().
void Compute | ( | Real * | x, |
bool | forward, | ||
std::vector< Real > * | temp_buffer | ||
) | const |
This is as the other Compute() function, but it is a const version that uses a user-supplied buffer.
Definition at line 364 of file srfft.cc.
|
private |