|
mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Wrappers for working with fftw plans. More...
Wrappers for working with fftw plans.
Functions | |
| template<typename realT > | |
| void | mx::math::ft::fftw_make_planner_thread_safe () |
| Wrapper for fftwX_make_planner_thread_safe() | |
| template<typename realT > | |
| void | mx::math::ft::fftw_plan_with_nthreads (int nthreads) |
| Tell the FFTW planner how many threads to use. | |
| template<typename inputDataT , typename outputDataT > | |
| fftwTypeSpec< inputDataT, outputDataT >::planT | mx::math::ft::fftw_plan_dft (std::vector< int > n, inputDataT *in, outputDataT *out, int sign, unsigned flags) |
| Wrapper for the fftwX_plan_dft functions. | |
| template<typename realT > | |
| void | mx::math::ft::fftw_cleanup () |
| Cleanup persistent planner data. | |
| template<typename realT > | |
| void | mx::math::ft::fftw_cleanup_threads () |
| Cleanup persistent planner data and threads data. | |
Cleanup persistent planner data and threads data.
Wrapper for fftwX_make_planner_thread_safe()
| realT | the real floating point type |
| fftwTypeSpec< inputDataT, outputDataT >::planT mx::math::ft::fftw_plan_dft | ( | std::vector< int > | n, |
| inputDataT * | in, | ||
| outputDataT * | out, | ||
| int | sign, | ||
| unsigned | flags | ||
| ) |
Wrapper for the fftwX_plan_dft functions.
| n | is a vector of ints containing the size of each dimension. |
| in | is the input data array |
| out | is the output data array |
| sign | specifies forward or backwards, i.e. FFTW_FORWARD or FFTW_BACKWARD. |
| flags | other fftw flags |
| inputDataT | the data type of the input array |
| outputDataT | the data type of the output array |