pub struct PlanF32 { /* private fields */ }Expand description
A reusable single-precision FFTW plan over a fixed shape.
Mirrors Plan but for f32 / fftwf_complex buffers.
Implementations§
Source§impl PlanF32
impl PlanF32
Sourcepub fn dft_1d(n: usize, direction: Direction) -> Result<Self>
pub fn dft_1d(n: usize, direction: Direction) -> Result<Self>
Build a 1-D complex DFT plan over n samples.
Sourcepub fn dft_2d(n0: usize, n1: usize, direction: Direction) -> Result<Self>
pub fn dft_2d(n0: usize, n1: usize, direction: Direction) -> Result<Self>
Build a 2-D complex DFT plan over n0 × n1 samples.
Sourcepub fn dft_3d(
n0: usize,
n1: usize,
n2: usize,
direction: Direction,
) -> Result<Self>
pub fn dft_3d( n0: usize, n1: usize, n2: usize, direction: Direction, ) -> Result<Self>
Build a 3-D complex DFT plan.
Sourcepub fn execute_dft(
&self,
input: &mut [[f32; 2]],
output: &mut [[f32; 2]],
) -> Result<()>
pub fn execute_dft( &self, input: &mut [[f32; 2]], output: &mut [[f32; 2]], ) -> Result<()>
Execute a complex DFT plan against new buffers.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlanF32
impl RefUnwindSafe for PlanF32
impl !Sync for PlanF32
impl Unpin for PlanF32
impl UnsafeUnpin for PlanF32
impl UnwindSafe for PlanF32
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