[−][src]Struct realfft::ComplexToReal
An FFT that takes a real-valued input vector of length 2*N and transforms it to a complex spectrum of length N+1.
Implementations
impl ComplexToReal<f64>
[src]
Create a new ComplexToReal iFFT for output data of a given length. Returns an error if the length is not even.
pub fn new(length: usize) -> Result<Self, Box<dyn Error>>
[src]
pub fn process(
&mut self,
input: &[Complex<f64>],
output: &mut [f64]
) -> Result<(), Box<dyn Error>>
[src]
&mut self,
input: &[Complex<f64>],
output: &mut [f64]
) -> Result<(), Box<dyn Error>>
Transform a complex spectrum of N+1 values and store the real result in the 2*N long output.
impl ComplexToReal<f32>
[src]
Create a new ComplexToReal iFFT for output data of a given length. Returns an error if the length is not even.
pub fn new(length: usize) -> Result<Self, Box<dyn Error>>
[src]
pub fn process(
&mut self,
input: &[Complex<f32>],
output: &mut [f32]
) -> Result<(), Box<dyn Error>>
[src]
&mut self,
input: &[Complex<f32>],
output: &mut [f32]
) -> Result<(), Box<dyn Error>>
Transform a complex spectrum of N+1 values and store the real result in the 2*N long output.
Auto Trait Implementations
impl<T> !RefUnwindSafe for ComplexToReal<T>
impl<T> Send for ComplexToReal<T> where
T: Send,
T: Send,
impl<T> Sync for ComplexToReal<T> where
T: Sync,
T: Sync,
impl<T> Unpin for ComplexToReal<T> where
T: Unpin,
T: Unpin,
impl<T> !UnwindSafe for ComplexToReal<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,