pub struct RustFftBackend<T: Scalar + FftNum> { /* private fields */ }Expand description
FFT backend using the rustfft crate.
This is the default FFT backend for circulant-rs.
Implementations§
Trait Implementations§
Source§impl<T: Scalar + FftNum> FftBackend<T> for RustFftBackend<T>
impl<T: Scalar + FftNum> FftBackend<T> for RustFftBackend<T>
Source§fn fft_forward(&self, buffer: &mut [Complex<T>])
fn fft_forward(&self, buffer: &mut [Complex<T>])
Perform a forward FFT in-place. Read more
Source§fn fft_inverse(&self, buffer: &mut [Complex<T>])
fn fft_inverse(&self, buffer: &mut [Complex<T>])
Perform an inverse FFT in-place. Read more
Source§fn make_scratch(&self) -> Vec<Complex<T>>
fn make_scratch(&self) -> Vec<Complex<T>>
Create a new scratch buffer for this FFT size.
impl<T: Scalar + FftNum> Send for RustFftBackend<T>
impl<T: Scalar + FftNum> Sync for RustFftBackend<T>
Auto Trait Implementations§
impl<T> Freeze for RustFftBackend<T>
impl<T> !RefUnwindSafe for RustFftBackend<T>
impl<T> Unpin for RustFftBackend<T>
impl<T> !UnwindSafe for RustFftBackend<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