Struct realfft::RealFftPlanner
source · pub struct RealFftPlanner<T: FftNum> { /* private fields */ }
Expand description
A planner is used to create FFTs. It caches results internally, so when making more than one FFT it is advisable to reuse the same planner.
Implementations§
source§impl<T: FftNum> RealFftPlanner<T>
impl<T: FftNum> RealFftPlanner<T>
sourcepub fn plan_fft_forward(&mut self, len: usize) -> Arc<dyn RealToComplex<T>>
pub fn plan_fft_forward(&mut self, len: usize) -> Arc<dyn RealToComplex<T>>
Plan a real-to-complex forward FFT. Returns the FFT in a shared reference. If requesting a second forward FFT of the same length, the planner will return a new reference to the already existing one.
sourcepub fn plan_fft_inverse(&mut self, len: usize) -> Arc<dyn ComplexToReal<T>>
pub fn plan_fft_inverse(&mut self, len: usize) -> Arc<dyn ComplexToReal<T>>
Plan a complex-to-real inverse FFT. Returns the FFT in a shared reference. If requesting a second inverse FFT of the same length, the planner will return a new reference to the already existing one.
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for RealFftPlanner<T>
impl<T> Send for RealFftPlanner<T>
impl<T> Sync for RealFftPlanner<T>
impl<T> Unpin for RealFftPlanner<T>where T: Unpin,
impl<T> !UnwindSafe for RealFftPlanner<T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more