pub trait FftEngine1D {
// Required methods
fn execute(
&mut self,
input: &[Complex<f64>],
) -> Result<Vec<Complex<f64>>, ErrorsJSL>;
fn plan(
&mut self,
size: usize,
scale: FftScaleFactor,
direction: FftDirection,
ordering: FftOrdering,
) -> Result<(), ErrorsJSL>;
fn get_size(&self) -> usize;
fn get_scale_factor(&self) -> FftScaleFactor;
fn get_direction(&self) -> FftDirection;
fn get_ordering(&self) -> FftOrdering;
}Expand description
A planned one-dimensional complex FFT.
Required Methods§
fn execute( &mut self, input: &[Complex<f64>], ) -> Result<Vec<Complex<f64>>, ErrorsJSL>
fn plan( &mut self, size: usize, scale: FftScaleFactor, direction: FftDirection, ordering: FftOrdering, ) -> Result<(), ErrorsJSL>
fn get_size(&self) -> usize
fn get_scale_factor(&self) -> FftScaleFactor
fn get_direction(&self) -> FftDirection
fn get_ordering(&self) -> FftOrdering
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".