Entropy Piano Tuner
1.1.3 (documentation not yet complete)
An open-source experimental software for piano tuning by entropy minimization
|
Abstract base class for handling fast Fourier transforms. More...
#include <fftadapter.h>
Public Member Functions | |
FFTAdapter () | |
virtual | ~FFTAdapter () |
virtual void | calculateFFT (const FFTRealVector &in, FFTComplexVector &out)=0 |
virtual void | calculateFFT (const FFTComplexVector &in, FFTRealVector &out)=0 |
virtual void | optimize (FFTRealVector &in)=0 |
virtual void | optimize (FFTComplexVector &in)=0 |
Abstract base class for handling fast Fourier transforms.
The tuner makes frequent use of fast Fourier transforms. However, existing packages such as fftw3 are not completely thread-safe. This adapter class establishes an interface between the tuner and a specific implementation.
The adapter is designed for two types of FFTs, namely, real to complex and comples to real. The second one is the inverse of the first one.
Definition at line 100 of file fftadapter.h.
|
inline |
Definition at line 104 of file fftadapter.h.
|
inlinevirtual |
Definition at line 105 of file fftadapter.h.
|
pure virtual |
Implemented in FFT_Implementation.
|
pure virtual |
Implemented in FFT_Implementation.
|
pure virtual |
Implemented in FFT_Implementation.
|
pure virtual |
Implemented in FFT_Implementation.