pub trait C2RPlan: Sized {
type Real: AlignedAllocable;
type Complex: AlignedAllocable;
// Required methods
fn new(
shape: &[usize],
in_: &mut [Self::Complex],
out: &mut [Self::Real],
flag: Flag
) -> Result<Self>;
fn c2r(
&mut self,
in_: &mut [Self::Complex],
out: &mut [Self::Real]
) -> Result<()>;
// Provided method
fn aligned(shape: &[usize], flag: Flag) -> Result<Self> { ... }
}
Expand description
Trait for the plan of Complex-to-Real transformation