rufft::traits

Trait Fft

Source
pub trait Fft<F: Float + FloatConst + NumAssign + 'static>
where for<'c> Self: Iterable<OwnedItem = F, Item<'c> = &'c F>, usize: AsPrimitive<F>,
{ // Provided method fn fft<C>(&self) -> C where for<'c> C: Iterable<OwnedItem = Complex<F>, Item<'c> = &'c Complex<F>> + IndexMut<usize, Output = Complex<F>>, usize: AsPrimitive<F> { ... } }
Expand description

Trait containing fft method which computes the fft of the real valued collection type and returns a complex value collection. The return collection type does not need to be the same type as the type the trait is implemented on

Provided Methods§

Source

fn fft<C>(&self) -> C
where for<'c> C: Iterable<OwnedItem = Complex<F>, Item<'c> = &'c Complex<F>> + IndexMut<usize, Output = Complex<F>>, usize: AsPrimitive<F>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<C, F> Fft<F> for C
where for<'c> C: Iterable<OwnedItem = F, Item<'c> = &'c F>, F: Float + FloatConst + NumAssign + 'static, usize: AsPrimitive<F>,