[−][src]Struct fftw::plan::Plan
Typed wrapper of fftw_plan
The plan in FFTW manages the contains all information necessary to compute the transform,
including the pointers to the input and output arrays.
However, this wrapper does not modify this pointer once after the plan is created
since it should be unsafe in terms of Rust.
Instead, this plan executes a transform for different arrays with new-array execute functions
with related associated functions, e.g. C2CPlan::c2c
.
Trait Implementations
impl C2CPlan for Plan<c64, c64, Plan64>
[src]
type Complex = c64
fn new(
shape: &[usize],
in_: &mut [Self::Complex],
out: &mut [Self::Complex],
sign: Sign,
flag: Flag
) -> Result<Self>
[src]
shape: &[usize],
in_: &mut [Self::Complex],
out: &mut [Self::Complex],
sign: Sign,
flag: Flag
) -> Result<Self>
fn c2c(
&mut self,
in_: &mut [Self::Complex],
out: &mut [Self::Complex]
) -> Result<()>
[src]
&mut self,
in_: &mut [Self::Complex],
out: &mut [Self::Complex]
) -> Result<()>
fn aligned(shape: &[usize], sign: Sign, flag: Flag) -> Result<Self>
[src]
Create new plan with aligned vector
impl C2CPlan for Plan<c32, c32, Plan32>
[src]
type Complex = c32
fn new(
shape: &[usize],
in_: &mut [Self::Complex],
out: &mut [Self::Complex],
sign: Sign,
flag: Flag
) -> Result<Self>
[src]
shape: &[usize],
in_: &mut [Self::Complex],
out: &mut [Self::Complex],
sign: Sign,
flag: Flag
) -> Result<Self>
fn c2c(
&mut self,
in_: &mut [Self::Complex],
out: &mut [Self::Complex]
) -> Result<()>
[src]
&mut self,
in_: &mut [Self::Complex],
out: &mut [Self::Complex]
) -> Result<()>
fn aligned(shape: &[usize], sign: Sign, flag: Flag) -> Result<Self>
[src]
Create new plan with aligned vector
impl R2CPlan for Plan<f64, c64, Plan64>
[src]
type Real = f64
type Complex = c64
fn new(
shape: &[usize],
in_: &mut [Self::Real],
out: &mut [Self::Complex],
flag: Flag
) -> Result<Self>
[src]
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<()>
[src]
&mut self,
in_: &mut [Self::Real],
out: &mut [Self::Complex]
) -> Result<()>
fn aligned(shape: &[usize], flag: Flag) -> Result<Self>
[src]
Create new plan with aligned vector
impl R2CPlan for Plan<f32, c32, Plan32>
[src]
type Real = f32
type Complex = c32
fn new(
shape: &[usize],
in_: &mut [Self::Real],
out: &mut [Self::Complex],
flag: Flag
) -> Result<Self>
[src]
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<()>
[src]
&mut self,
in_: &mut [Self::Real],
out: &mut [Self::Complex]
) -> Result<()>
fn aligned(shape: &[usize], flag: Flag) -> Result<Self>
[src]
Create new plan with aligned vector
impl C2RPlan for Plan<c64, f64, Plan64>
[src]
type Real = f64
type Complex = c64
fn new(
shape: &[usize],
in_: &mut [Self::Complex],
out: &mut [Self::Real],
flag: Flag
) -> Result<Self>
[src]
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<()>
[src]
&mut self,
in_: &mut [Self::Complex],
out: &mut [Self::Real]
) -> Result<()>
fn aligned(shape: &[usize], flag: Flag) -> Result<Self>
[src]
Create new plan with aligned vector
impl C2RPlan for Plan<c32, f32, Plan32>
[src]
type Real = f32
type Complex = c32
fn new(
shape: &[usize],
in_: &mut [Self::Complex],
out: &mut [Self::Real],
flag: Flag
) -> Result<Self>
[src]
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<()>
[src]
&mut self,
in_: &mut [Self::Complex],
out: &mut [Self::Real]
) -> Result<()>
fn aligned(shape: &[usize], flag: Flag) -> Result<Self>
[src]
Create new plan with aligned vector
impl R2RPlan for Plan<f64, f64, Plan64>
[src]
type Real = f64
fn new(
shape: &[usize],
in_: &mut [Self::Real],
out: &mut [Self::Real],
kind: R2RKind,
flag: Flag
) -> Result<Self>
[src]
shape: &[usize],
in_: &mut [Self::Real],
out: &mut [Self::Real],
kind: R2RKind,
flag: Flag
) -> Result<Self>
fn r2r(&mut self, in_: &mut [Self::Real], out: &mut [Self::Real]) -> Result<()>
[src]
fn aligned(shape: &[usize], kind: R2RKind, flag: Flag) -> Result<Self>
[src]
Create new plan with aligned vector
impl R2RPlan for Plan<f32, f32, Plan32>
[src]
type Real = f32
fn new(
shape: &[usize],
in_: &mut [Self::Real],
out: &mut [Self::Real],
kind: R2RKind,
flag: Flag
) -> Result<Self>
[src]
shape: &[usize],
in_: &mut [Self::Real],
out: &mut [Self::Real],
kind: R2RKind,
flag: Flag
) -> Result<Self>
fn r2r(&mut self, in_: &mut [Self::Real], out: &mut [Self::Real]) -> Result<()>
[src]
fn aligned(shape: &[usize], kind: R2RKind, flag: Flag) -> Result<Self>
[src]
Create new plan with aligned vector
impl<A, B, P: PlanSpec> Drop for Plan<A, B, P>
[src]
Auto Trait Implementations
impl<A, B, Plan> Send for Plan<A, B, Plan> where
A: Send,
B: Send,
Plan: Send,
A: Send,
B: Send,
Plan: Send,
impl<A, B, Plan> Sync for Plan<A, B, Plan> where
A: Sync,
B: Sync,
Plan: Sync,
A: Sync,
B: Sync,
Plan: Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,