[][src]Struct fourier_algorithms::Autosort

pub struct Autosort<T, Twiddles, Work> { /* fields omitted */ }

Implements a mixed-radix Stockham autosort algorithm for multiples of 2 and 3.

Implementations

impl<T, Twiddles, Work> Autosort<T, Twiddles, Work>[src]

pub fn counts(&self) -> [usize; 5][src]

Return the radix counts.

pub unsafe fn new_from_parts(
    size: usize,
    counts: [usize; 5],
    forward_twiddles: Twiddles,
    inverse_twiddles: Twiddles,
    work: Work
) -> Self
[src]

Create a new transform generator from parts. Twiddles factors and work must be the correct size.

impl<T, Twiddles: AsRef<[Complex<T>]>, Work: AsRef<[Complex<T>]>> Autosort<T, Twiddles, Work>[src]

pub fn twiddles(&self) -> (&[Complex<T>], &[Complex<T>])[src]

Return the forward and inverse twiddle factors.

pub fn work_size(&self) -> usize[src]

Return the work buffer size.

impl<T: FftFloat, Twiddles: Default + Extend<Complex<T>>, Work: Default + Extend<Complex<T>>> Autosort<T, Twiddles, Work>[src]

pub fn new(size: usize) -> Option<Self>[src]

Create a new Stockham autosort generator. Returns None if the transform size cannot be performed.

Trait Implementations

impl<Twiddles: AsRef<[Complex<f32>]>, Work: AsMut<[Complex<f32>]>> Fft for Autosort<f32, Twiddles, Work>[src]

type Real = f32

The real type used by the FFT.

impl<Twiddles: AsRef<[Complex<f64>]>, Work: AsMut<[Complex<f64>]>> Fft for Autosort<f64, Twiddles, Work>[src]

type Real = f64

The real type used by the FFT.

Auto Trait Implementations

impl<T, Twiddles, Work> !RefUnwindSafe for Autosort<T, Twiddles, Work>

impl<T, Twiddles, Work> Send for Autosort<T, Twiddles, Work> where
    T: Send,
    Twiddles: Send,
    Work: Send

impl<T, Twiddles, Work> !Sync for Autosort<T, Twiddles, Work>

impl<T, Twiddles, Work> Unpin for Autosort<T, Twiddles, Work> where
    T: Unpin,
    Twiddles: Unpin,
    Work: Unpin

impl<T, Twiddles, Work> UnwindSafe for Autosort<T, Twiddles, Work> where
    T: UnwindSafe,
    Twiddles: UnwindSafe,
    Work: UnwindSafe

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.