Struct fftw::pair::Pair
[−]
[src]
pub struct Pair<A, B> { pub field: AlignedVec<A>, pub coef: AlignedVec<B>, // some fields omitted }
Safe-interface corresponding to out-place transform
FFTW interface modifies an array in fftw_execute
function
which does not takes the array as its arguments.
It is not compatible to the programing model of safe Rust.
Pair
interface composes the array and plan to manage
mutability in the safe Rust way.
Fields
field: AlignedVec<A>
coef: AlignedVec<B>
Methods
impl<A, B> Pair<A, B>
[src]
fn logical_size(&self) -> usize
[src]
fn forward(&mut self)
[src]
Execute forward transformation
fn backward(&mut self)
[src]
Execute backward transformation
impl<R> Pair<R, R> where
R: R2RPlanCreate + AlignedAllocable + Zero,
[src]
R: R2RPlanCreate + AlignedAllocable + Zero,
fn r2r_1d(n: usize, kind: R2R_KIND, flag: FLAG) -> Self
[src]
Create one-dimensional Real-to-Real transformation pair
impl<C> Pair<C, C> where
C: C2CPlanCreate + AlignedAllocable + Zero,
[src]
C: C2CPlanCreate + AlignedAllocable + Zero,
fn c2c_1d(n: usize, sign: SIGN, flag: FLAG) -> Self
[src]
Create one-dimensional Complex-to-Complex transformation pair
impl<R, C> Pair<R, C> where
(C, R): C2RPlanCreate<Real = R, Complex = C>,
R: AlignedAllocable + Zero,
C: AlignedAllocable + Zero,
[src]
(C, R): C2RPlanCreate<Real = R, Complex = C>,
R: AlignedAllocable + Zero,
C: AlignedAllocable + Zero,