pub struct RealPlan2D<T: Float> { /* private fields */ }Expand description
A plan for 2D real-to-complex and complex-to-real transforms.
For R2C: Takes n0×n1 real values and produces n0×(n1/2+1) complex values. For C2R: Takes n0×(n1/2+1) complex values and produces n0×n1 real values.
Implementations§
Source§impl<T: Float> RealPlan2D<T>
impl<T: Float> RealPlan2D<T>
Sourcepub fn execute_r2c(&self, input: &[T], output: &mut [Complex<T>])
pub fn execute_r2c(&self, input: &[T], output: &mut [Complex<T>])
Execute the 2D real plan.
For R2C: input is n0×n1 real, output is n0×(n1/2+1) complex. For C2R: input is n0×(n1/2+1) complex, output is n0×n1 real.
Sourcepub fn execute_c2r(&self, input: &[Complex<T>], output: &mut [T])
pub fn execute_c2r(&self, input: &[Complex<T>], output: &mut [T])
Execute C2R transform.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for RealPlan2D<T>
impl<T> RefUnwindSafe for RealPlan2D<T>where
T: RefUnwindSafe,
impl<T> Send for RealPlan2D<T>
impl<T> Sync for RealPlan2D<T>
impl<T> Unpin for RealPlan2D<T>where
T: Unpin,
impl<T> UnsafeUnpin for RealPlan2D<T>
impl<T> UnwindSafe for RealPlan2D<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