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

impl<T: FftNum> Default for RealFftPlanner<T>[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.