Struct realfft::RealFftPlanner [−][src]
pub struct RealFftPlanner<T: FftNum> { /* fields omitted */ }
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
impl<T: FftNum> RealFftPlanner<T>
[src]
pub fn new() -> Self
[src]
Create a new planner.
pub fn plan_fft_forward(&mut self, len: usize) -> Arc<dyn RealToComplex<T>>
[src]
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.
pub fn plan_fft_inverse(&mut self, len: usize) -> Arc<dyn ComplexToReal<T>>
[src]
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>
impl<T> !UnwindSafe for RealFftPlanner<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,