pub struct InnerPlanner<T>where
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> RealFftPlanner<T>where
T: FftNum,
impl<T> RealFftPlanner<T>where
T: FftNum,
Sourcepub fn new() -> RealFftPlanner<T>
pub fn new() -> RealFftPlanner<T>
Create a new planner.
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§
Source§impl<T> Default for RealFftPlanner<T>where
T: FftNum,
impl<T> Default for RealFftPlanner<T>where
T: FftNum,
Source§fn default() -> RealFftPlanner<T>
fn default() -> RealFftPlanner<T>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<T> Freeze for RealFftPlanner<T>
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