pub struct Plan2D<T: Float> { /* private fields */ }Expand description
A plan for executing 2D FFT transforms.
Implements row-column decomposition: apply 1D FFT to all rows, then to all columns.
Implementations§
Source§impl<T: Float> Plan2D<T>
impl<T: Float> Plan2D<T>
Sourcepub fn execute(&self, input: &[Complex<T>], output: &mut [Complex<T>])
pub fn execute(&self, input: &[Complex<T>], output: &mut [Complex<T>])
Execute the 2D FFT on the given input/output buffers.
Input and output are row-major: element at (i, j) is at index i*n1 + j.
§Panics
Panics if buffer sizes don’t match n0 × n1.
Sourcepub fn execute_inplace(&self, data: &mut [Complex<T>])
pub fn execute_inplace(&self, data: &mut [Complex<T>])
Auto Trait Implementations§
impl<T> Freeze for Plan2D<T>
impl<T> RefUnwindSafe for Plan2D<T>where
T: RefUnwindSafe,
impl<T> Send for Plan2D<T>
impl<T> Sync for Plan2D<T>
impl<T> Unpin for Plan2D<T>
impl<T> UnwindSafe for Plan2D<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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more