[][src]Enum fourier_algorithms::Transform

pub enum Transform {
    Fft,
    Ifft,
    UnscaledIfft,
    SqrtScaledFft,
    SqrtScaledIfft,
}

Specifies a type of transform to perform.

Variants

Fft

Fast Fourier transform

Ifft

Inverse fast Fourier transform

UnscaledIfft

Unscaled IFFT (conventionally the IFFT is scaled by 1 / N)

SqrtScaledFft

Square-root scaled FFT (a unitary transform)

SqrtScaledIfft

Square-root scaled IFFT (a unitary transform)

Implementations

impl Transform[src]

pub fn is_forward(&self) -> bool[src]

Returns true if the transform is a forward transform.

pub fn inverse(&self) -> Option<Self>[src]

Returns the inverse transform, or None for UnscaledIfft.

Trait Implementations

impl Clone for Transform[src]

impl Copy for Transform[src]

impl Eq for Transform[src]

impl PartialEq<Transform> for Transform[src]

impl StructuralEq for Transform[src]

impl StructuralPartialEq for Transform[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.