GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
fftw Class Reference

#include "oct-fftw.h"

Public Member Functions

 fftw (const fftw &)=delete
 
 fftw (void)=delete
 
fftwoperator= (const fftw &)=delete
 

Static Public Member Functions

static int fft (const Complex *in, Complex *out, std::size_t npts, std::size_t nsamples=1, octave_idx_type stride=1, octave_idx_type dist=-1)
 
static int fft (const double *in, Complex *out, std::size_t npts, std::size_t nsamples=1, octave_idx_type stride=1, octave_idx_type dist=-1)
 
static int fft (const float *in, FloatComplex *out, std::size_t npts, std::size_t nsamples=1, octave_idx_type stride=1, octave_idx_type dist=-1)
 
static int fft (const FloatComplex *in, FloatComplex *out, std::size_t npts, std::size_t nsamples=1, octave_idx_type stride=1, octave_idx_type dist=-1)
 
static int fftNd (const Complex *, Complex *, const int, const dim_vector &)
 
static int fftNd (const double *, Complex *, const int, const dim_vector &)
 
static int fftNd (const float *, FloatComplex *, const int, const dim_vector &)
 
static int fftNd (const FloatComplex *, FloatComplex *, const int, const dim_vector &)
 
static int ifft (const Complex *in, Complex *out, std::size_t npts, std::size_t nsamples=1, octave_idx_type stride=1, octave_idx_type dist=-1)
 
static int ifft (const FloatComplex *in, FloatComplex *out, std::size_t npts, std::size_t nsamples=1, octave_idx_type stride=1, octave_idx_type dist=-1)
 
static int ifftNd (const Complex *, Complex *, const int, const dim_vector &)
 
static int ifftNd (const FloatComplex *, FloatComplex *, const int, const dim_vector &)
 

Detailed Description

Definition at line 333 of file oct-fftw.h.

Constructor & Destructor Documentation

◆ fftw() [1/2]

fftw::fftw ( void  )
delete

◆ fftw() [2/2]

fftw::fftw ( const fftw )
delete

Member Function Documentation

◆ fft() [1/4]

int fftw::fft ( const Complex in,
Complex out,
std::size_t  npts,
std::size_t  nsamples = 1,
octave_idx_type  stride = 1,
octave_idx_type  dist = -1 
)
static

Definition at line 885 of file oct-fftw.cc.

References fftw_planner::create_plan().

◆ fft() [2/4]

int fftw::fft ( const double *  in,
Complex out,
std::size_t  npts,
std::size_t  nsamples = 1,
octave_idx_type  stride = 1,
octave_idx_type  dist = -1 
)
static

Definition at line 863 of file oct-fftw.cc.

References convert_packcomplex_1d(), and fftw_planner::create_plan().

◆ fft() [3/4]

int fftw::fft ( const float *  in,
FloatComplex out,
std::size_t  npts,
std::size_t  nsamples = 1,
octave_idx_type  stride = 1,
octave_idx_type  dist = -1 
)
static

Definition at line 999 of file oct-fftw.cc.

References convert_packcomplex_1d(), and float_fftw_planner::create_plan().

◆ fft() [4/4]

int fftw::fft ( const FloatComplex in,
FloatComplex out,
std::size_t  npts,
std::size_t  nsamples = 1,
octave_idx_type  stride = 1,
octave_idx_type  dist = -1 
)
static

Definition at line 1021 of file oct-fftw.cc.

References float_fftw_planner::create_plan().

◆ fftNd() [1/4]

int fftw::fftNd ( const Complex in,
Complex out,
const int  rank,
const dim_vector dv 
)
static

Definition at line 956 of file oct-fftw.cc.

References fftw_planner::create_plan().

◆ fftNd() [2/4]

int fftw::fftNd ( const double *  in,
Complex out,
const int  rank,
const dim_vector dv 
)
static

◆ fftNd() [3/4]

int fftw::fftNd ( const float *  in,
FloatComplex out,
const int  rank,
const dim_vector dv 
)
static

◆ fftNd() [4/4]

int fftw::fftNd ( const FloatComplex in,
FloatComplex out,
const int  rank,
const dim_vector dv 
)
static

Definition at line 1093 of file oct-fftw.cc.

References float_fftw_planner::create_plan().

◆ ifft() [1/2]

int fftw::ifft ( const Complex in,
Complex out,
std::size_t  npts,
std::size_t  nsamples = 1,
octave_idx_type  stride = 1,
octave_idx_type  dist = -1 
)
static

Definition at line 905 of file oct-fftw.cc.

References fftw_planner::create_plan(), and scale().

◆ ifft() [2/2]

int fftw::ifft ( const FloatComplex in,
FloatComplex out,
std::size_t  npts,
std::size_t  nsamples = 1,
octave_idx_type  stride = 1,
octave_idx_type  dist = -1 
)
static

Definition at line 1041 of file oct-fftw.cc.

References float_fftw_planner::create_plan(), and scale().

◆ ifftNd() [1/2]

int fftw::ifftNd ( const Complex in,
Complex out,
const int  rank,
const dim_vector dv 
)
static

Definition at line 975 of file oct-fftw.cc.

References fftw_planner::create_plan(), dim_vector::numel(), and scale().

◆ ifftNd() [2/2]

int fftw::ifftNd ( const FloatComplex in,
FloatComplex out,
const int  rank,
const dim_vector dv 
)
static

Definition at line 1112 of file oct-fftw.cc.

References float_fftw_planner::create_plan(), dim_vector::numel(), and scale().

◆ operator=()

fftw& fftw::operator= ( const fftw )
delete

The documentation for this class was generated from the following files: