DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::detail::fft::SplitFFT< T > Class Template Reference

The shared Stockham engine: a forward complex FFT of size N on split (re, im) arrays, ping-ponging between two work buffers. More...

#include <FFT.h>

Public Member Functions

 SplitFFT (size_t n)
 
size_t size () const noexcept
 
T * inRe () noexcept
 Input buffers: fill inRe() / inIm() with N values each before run().
 
T * inIm () noexcept
 
void run (const T *&outRe, const T *&outIm) noexcept
 Runs the forward transform of the input buffers.
 

Detailed Description

template<typename T>
class dspark::detail::fft::SplitFFT< T >

The shared Stockham engine: a forward complex FFT of size N on split (re, im) arrays, ping-ponging between two work buffers.

Definition at line 213 of file FFT.h.

Constructor & Destructor Documentation

◆ SplitFFT()

template<typename T >
dspark::detail::fft::SplitFFT< T >::SplitFFT ( size_t  n)
inlineexplicit

Definition at line 216 of file FFT.h.

Member Function Documentation

◆ inIm()

template<typename T >
T * dspark::detail::fft::SplitFFT< T >::inIm ( )
inlinenoexcept

Definition at line 258 of file FFT.h.

◆ inRe()

template<typename T >
T * dspark::detail::fft::SplitFFT< T >::inRe ( )
inlinenoexcept

Input buffers: fill inRe() / inIm() with N values each before run().

Definition at line 257 of file FFT.h.

◆ run()

template<typename T >
void dspark::detail::fft::SplitFFT< T >::run ( const T *&  outRe,
const T *&  outIm 
)
inlinenoexcept

Runs the forward transform of the input buffers.

Parameters
outReReceives the pointer to the N output real parts.
outImReceives the pointer to the N output imaginary parts.

Definition at line 265 of file FFT.h.

◆ size()

template<typename T >
size_t dspark::detail::fft::SplitFFT< T >::size ( ) const
inlinenoexcept

Definition at line 254 of file FFT.h.


The documentation for this class was generated from the following file: