mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Wrappers for fftw memory allocation and de-allocation functions. More...
Wrappers for fftw memory allocation and de-allocation functions.
Functions | |
template<typename realT > | |
realT * | mx::math::fft::fftw_malloc (size_t n) |
Call to fftw_malloc, with type cast. More... | |
template<typename realT > | |
void | mx::math::fft::fftw_free (realT *p) |
Call to fftw_free. More... | |
void mx::math::fft::fftw_free | ( | realT * | p | ) |
Call to fftw_free.
p | is a pointer to the array to de-allocate. |
Referenced by mx::sigproc::averagePeriodogram< realT >::~averagePeriodogram(), and mx::sigproc::averagePeriodogram< realT >::resize().
realT* mx::math::fft::fftw_malloc | ( | size_t | n | ) |
Call to fftw_malloc, with type cast.
n | is the number of type realT elements, not the number of bytes. |