[][src]Trait fftw::plan::R2CPlan

pub trait R2CPlan: Sized {
type Real: AlignedAllocable;
type Complex: AlignedAllocable;
    fn new(
        shape: &[usize],
        in_: &mut [Self::Real],
        out: &mut [Self::Complex],
        flag: Flag
    ) -> Result<Self>;
fn r2c(
        &mut self,
        in_: &mut [Self::Real],
        out: &mut [Self::Complex]
    ) -> Result<()>; fn aligned(shape: &[usize], flag: Flag) -> Result<Self> { ... } }

Trait for the plan of Real-to-Complex transformation

Associated Types

Loading content...

Required methods

fn new(
    shape: &[usize],
    in_: &mut [Self::Real],
    out: &mut [Self::Complex],
    flag: Flag
) -> Result<Self>

Create new plan

fn r2c(
    &mut self,
    in_: &mut [Self::Real],
    out: &mut [Self::Complex]
) -> Result<()>

Execute real-to-complex transform

Loading content...

Provided methods

fn aligned(shape: &[usize], flag: Flag) -> Result<Self>

Create new plan with aligned vector

Loading content...

Implementors

impl R2CPlan for Plan<f32, c32, Plan32>[src]

type Real = f32

type Complex = c32

fn aligned(shape: &[usize], flag: Flag) -> Result<Self>[src]

impl R2CPlan for Plan<f64, c64, Plan64>[src]

type Real = f64

type Complex = c64

fn aligned(shape: &[usize], flag: Flag) -> Result<Self>[src]

Loading content...