GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "oct-fftw.h"
Public Types | |
enum | FftwMethod { UNKNOWN = -1, ESTIMATE, MEASURE, PATIENT, EXHAUSTIVE, HYBRID } |
Public Member Functions | |
~octave_fftw_planner (void) | |
Static Public Member Functions | |
static fftw_plan | create_plan (int dir, const int rank, const dim_vector dims, octave_idx_type howmany, octave_idx_type stride, octave_idx_type dist, const Complex *in, Complex *out) |
static fftw_plan | create_plan (const int rank, const dim_vector dims, octave_idx_type howmany, octave_idx_type stride, octave_idx_type dist, const double *in, Complex *out) |
static bool | instance_ok (void) |
static FftwMethod | method (void) |
static FftwMethod | method (FftwMethod _meth) |
static void | threads (int _nthreads) |
static int | threads () |
Protected Member Functions | |
octave_fftw_planner (void) | |
Private Member Functions | |
octave_fftw_planner (const octave_fftw_planner &) | |
fftw_plan | do_create_plan (int dir, const int rank, const dim_vector dims, octave_idx_type howmany, octave_idx_type stride, octave_idx_type dist, const Complex *in, Complex *out) |
fftw_plan | do_create_plan (const int rank, const dim_vector dims, octave_idx_type howmany, octave_idx_type stride, octave_idx_type dist, const double *in, Complex *out) |
FftwMethod | do_method (void) |
FftwMethod | do_method (FftwMethod _meth) |
octave_fftw_planner & | operator= (const octave_fftw_planner &) |
Static Private Member Functions | |
static void | cleanup_instance (void) |
Private Attributes | |
octave_idx_type | d [2] |
octave_idx_type | h [2] |
bool | inplace [2] |
FftwMethod | meth |
dim_vector | n [2] |
int | nthreads |
fftw_plan | plan [2] |
int | r [2] |
octave_idx_type | rd |
octave_idx_type | rh |
dim_vector | rn |
fftw_plan | rplan |
int | rr |
octave_idx_type | rs |
bool | rsimd_align |
octave_idx_type | s [2] |
bool | simd_align [2] |
Static Private Attributes | |
static octave_fftw_planner * | instance = 0 |
Definition at line 37 of file oct-fftw.h.
Enumerator | |
---|---|
UNKNOWN | |
ESTIMATE | |
MEASURE | |
PATIENT | |
EXHAUSTIVE | |
HYBRID |
Definition at line 49 of file oct-fftw.h.
|
protected |
Definition at line 62 of file oct-fftw.cc.
References d, h, inplace, n, nthreads, plan, r, s, and simd_align.
Referenced by instance_ok().
octave_fftw_planner::~octave_fftw_planner | ( | void | ) |
Definition at line 86 of file oct-fftw.cc.
|
private |
|
inlinestaticprivate |
Definition at line 130 of file oct-fftw.h.
Referenced by instance_ok().
|
inlinestatic |
Definition at line 62 of file oct-fftw.h.
Referenced by octave_fftw::fft(), octave_fftw::fftNd(), octave_fftw::ifft(), and octave_fftw::ifftNd().
|
inlinestatic |
Definition at line 76 of file oct-fftw.h.
|
private |
Definition at line 131 of file oct-fftw.cc.
References CHECK_SIMD_ALIGNMENT, d, ESTIMATE, EXHAUSTIVE, h, HYBRID, inplace, MEASURE, meth, n, nn, OCTAVE_LOCAL_BUFFER, PATIENT, plan, r, s, simd_align, and UNKNOWN.
|
private |
Definition at line 256 of file oct-fftw.cc.
References CHECK_SIMD_ALIGNMENT, ESTIMATE, EXHAUSTIVE, HYBRID, MEASURE, meth, nn, OCTAVE_LOCAL_BUFFER, PATIENT, rd, rh, rn, rplan, rr, rs, rsimd_align, and UNKNOWN.
|
private |
Definition at line 374 of file oct-fftw.cc.
References meth.
|
private |
|
static |
Definition at line 104 of file oct-fftw.cc.
References singleton_cleanup_list::add(), cleanup_instance(), instance, and octave_fftw_planner().
|
inlinestatic |
Definition at line 88 of file oct-fftw.h.
Referenced by Gfftw().
|
inlinestatic |
Definition at line 95 of file oct-fftw.h.
|
private |
|
inlinestatic |
Definition at line 103 of file oct-fftw.h.
|
inlinestatic |
Definition at line 114 of file oct-fftw.h.
Referenced by Gfftw().
|
private |
Definition at line 155 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_fftw_planner().
|
private |
Definition at line 164 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_fftw_planner().
|
private |
Definition at line 170 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_fftw_planner().
|
staticprivate |
Definition at line 128 of file oct-fftw.h.
Referenced by instance_ok().
|
private |
Definition at line 147 of file oct-fftw.h.
Referenced by do_create_plan(), and do_method().
|
private |
Definition at line 167 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_fftw_planner().
|
private |
Definition at line 194 of file oct-fftw.h.
Referenced by octave_fftw_planner().
|
private |
Definition at line 152 of file oct-fftw.h.
Referenced by do_create_plan(), do_method(), octave_fftw_planner(), and ~octave_fftw_planner().
|
private |
Definition at line 161 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_fftw_planner().
|
private |
Definition at line 176 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 185 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 188 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 173 of file oct-fftw.h.
Referenced by do_create_plan(), do_method(), and ~octave_fftw_planner().
|
private |
Definition at line 182 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 179 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 190 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 158 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_fftw_planner().
|
private |
Definition at line 169 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_fftw_planner().