pub struct FftSpace { /* private fields */ }Implementations§
Source§impl FftSpace
impl FftSpace
pub fn new(size: usize) -> Self
pub fn map<F: Fn(&Complex<f64>) -> Complex<f64>>(&mut self, map_fn: F)
pub fn signal_len(&self) -> usize
pub fn padded_len(&self) -> usize
pub fn space(&self) -> &[Complex<f64>]
pub fn signal(&self) -> Box<dyn Iterator<Item = f64> + '_>
pub fn workspace(&mut self) -> (&mut [Complex<f64>], &mut [Complex<f64>])
pub fn init_with_signal<I: IntoIterator>(&mut self, signal: I)
pub fn freq_domain(&self, square_rooted: bool) -> FreqDomainIter<'_>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FftSpace
impl RefUnwindSafe for FftSpace
impl Send for FftSpace
impl Sync for FftSpace
impl Unpin for FftSpace
impl UnwindSafe for FftSpace
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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