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
sourceimpl<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 FFT of the same length, this 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 FFT of the same length, this 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more