pub struct RealFft<T: Transcendental> { /* private fields */ }Expand description
Real-valued FFT.
Uses a half-size complex FFT internally via the two-for-one method.
Transforms N real samples into N/2 + 1 complex bins (only the
non-redundant half of the spectrum). The Nyquist bin (N/2) and
DC bin (0) are purely real.
§Panics
Panics if size is not a power of two or less than 4.
Implementations§
Source§impl<T: Transcendental> RealFft<T>
impl<T: Transcendental> RealFft<T>
Sourcepub fn new(size: usize) -> Self
pub fn new(size: usize) -> Self
Create a new real FFT for the given size.
§Panics
Panics if size is not a power of two or is less than 4.
Auto Trait Implementations§
impl<T> Freeze for RealFft<T>
impl<T> RefUnwindSafe for RealFft<T>where
T: RefUnwindSafe,
impl<T> Send for RealFft<T>
impl<T> Sync for RealFft<T>
impl<T> Unpin for RealFft<T>where
T: Unpin,
impl<T> UnsafeUnpin for RealFft<T>
impl<T> UnwindSafe for RealFft<T>where
T: UnwindSafe,
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