[][src]Enum yfft::DataFormat

pub enum DataFormat {
    Complex,
    Real,
    HalfComplex,
}

Specifies the data format.

Variants

Complex

Specifies the interleaved complex format.

Real

Specifies the real number format.

HalfComplex

Specifies the interleaved complex format only having the first half part and the second part is implied from the the first one.

Suppose G is a sequence of N/2 complex numbers in the HalfComplex format. This sequence represents a sequence X of N complex numbers using the following equations:

  • For 1 <= k <= N/2 - 1, X[k] == G[k] and X[N - k] == conj(G[k])
  • X[0] == Re(G[0])
  • X[N] == Re(G[0]) - Im(G[0])

Trait Implementations

impl Clone for DataFormat[src]

impl Copy for DataFormat[src]

impl Debug for DataFormat[src]

impl Eq for DataFormat[src]

impl Ord for DataFormat[src]

impl PartialEq<DataFormat> for DataFormat[src]

impl PartialOrd<DataFormat> for DataFormat[src]

impl StructuralEq for DataFormat[src]

impl StructuralPartialEq for DataFormat[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, U> Cast<U> for T where
    U: FromCast<T>, 
[src]

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

impl<T> FromCast<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.