pub struct SimpleRealFFT<T: Float> { /* private fields */ }Expand description
A wrapper for complex FFT to handle real data
Implementations§
Source§impl<T: Float + FromPrimitive> SimpleRealFFT<T>
impl<T: Float + FromPrimitive> SimpleRealFFT<T>
Sourcepub fn fft_split(&self, in_r: &[T], out_r: &mut [T], out_i: &mut [T])
pub fn fft_split(&self, in_r: &[T], out_r: &mut [T], out_i: &mut [T])
Perform a forward FFT on real data with split output
Sourcepub fn ifft(&mut self, freq: &[Complex<T>], time: &mut [T])
pub fn ifft(&mut self, freq: &[Complex<T>], time: &mut [T])
Perform an inverse FFT to real data
Sourcepub fn ifft_split(&self, in_r: &[T], in_i: &[T], out_r: &mut [T])
pub fn ifft_split(&self, in_r: &[T], in_i: &[T], out_r: &mut [T])
Perform an inverse FFT from split complex to real data
Auto Trait Implementations§
impl<T> Freeze for SimpleRealFFT<T>
impl<T> RefUnwindSafe for SimpleRealFFT<T>where
T: RefUnwindSafe,
impl<T> Send for SimpleRealFFT<T>where
T: Send,
impl<T> Sync for SimpleRealFFT<T>where
T: Sync,
impl<T> Unpin for SimpleRealFFT<T>where
T: Unpin,
impl<T> UnwindSafe for SimpleRealFFT<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