pub struct SplitPlan2D<T: Float> { /* private fields */ }Expand description
A multi-dimensional plan for split-complex format.
Implementations§
Source§impl<T: Float> SplitPlan2D<T>
impl<T: Float> SplitPlan2D<T>
Sourcepub fn new(
n0: usize,
n1: usize,
direction: Direction,
flags: Flags,
) -> Option<Self>
pub fn new( n0: usize, n1: usize, direction: Direction, flags: Flags, ) -> Option<Self>
Create a 2D DFT plan for split-complex format.
§Arguments
n0- Number of rowsn1- Number of columnsdirection- Forward or Backwardflags- Planning flags
Sourcepub fn execute(
&self,
in_real: &[T],
in_imag: &[T],
out_real: &mut [T],
out_imag: &mut [T],
)
pub fn execute( &self, in_real: &[T], in_imag: &[T], out_real: &mut [T], out_imag: &mut [T], )
Execute the 2D transform on split-complex input/output.
Data is row-major order.
§Panics
Panics if any buffer size doesn’t match n0 × n1.
Sourcepub fn execute_inplace(&self, real: &mut [T], imag: &mut [T])
pub fn execute_inplace(&self, real: &mut [T], imag: &mut [T])
Execute in-place on split-complex data.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for SplitPlan2D<T>
impl<T> RefUnwindSafe for SplitPlan2D<T>where
T: RefUnwindSafe,
impl<T> Send for SplitPlan2D<T>
impl<T> Sync for SplitPlan2D<T>
impl<T> Unpin for SplitPlan2D<T>
impl<T> UnsafeUnpin for SplitPlan2D<T>
impl<T> UnwindSafe for SplitPlan2D<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