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

#include "oct-fftw.h"

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 324 of file oct-fftw.h.

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 881 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 859 of file oct-fftw.cc.

References 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 995 of file oct-fftw.cc.

References 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 1017 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 952 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

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

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

◆ fftNd() [3/4]

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

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

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

◆ fftNd() [4/4]

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

Definition at line 1089 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 901 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 1037 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 971 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 1108 of file oct-fftw.cc.

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


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