pub struct FftProcessor<T: FftNum> { /* private fields */ }
Implementations§
Source§impl<T: FftNum> Processor<T>
impl<T: FftNum> Processor<T>
pub fn get_scratch<const N: usize>( &mut self, input_dim: [usize; N], ) -> Vec<Complex<T>>
pub fn forward<S: DataMut<Elem = T>, const N: usize>( &mut self, input: &mut ArrayBase<S, Dim<[Ix; N]>>, ) -> Array<Complex<T>, Dim<[Ix; N]>>
pub fn backward<const N: usize>( &mut self, input: Array<Complex<T>, Dim<[Ix; N]>>, ) -> Array<T, Dim<[Ix; N]>>
pub fn forward_with_scratch<S: DataMut<Elem = T>, const N: usize>( &mut self, input: &mut ArrayBase<S, Dim<[Ix; N]>>, scratch: &mut Vec<Complex<T>>, ) -> Array<Complex<T>, Dim<[Ix; N]>>
pub fn backward_with_scratch<const N: usize>( &mut self, input: Array<Complex<T>, Dim<[Ix; N]>>, scratch: &mut Vec<Complex<T>>, ) -> Array<T, Dim<[Ix; N]>>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Processor<T>
impl<T> !RefUnwindSafe for Processor<T>
impl<T> Send for Processor<T>
impl<T> Sync for Processor<T>
impl<T> Unpin for Processor<T>where
T: Unpin,
impl<T> !UnwindSafe for Processor<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more