GNU Octave
4.2.1
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_float_fftw_planner (void) | |
Static Public Member Functions | |
static void * | create_plan (int dir, const int rank, const dim_vector dims, octave_idx_type howmany, octave_idx_type stride, octave_idx_type dist, const FloatComplex *in, FloatComplex *out) |
static void * | create_plan (const int rank, const dim_vector dims, octave_idx_type howmany, octave_idx_type stride, octave_idx_type dist, const float *in, FloatComplex *out) |
static bool | instance_ok (void) |
static FftwMethod | method (void) |
static FftwMethod | method (FftwMethod _meth) |
static void | threads (int nt) |
static int | threads (void) |
Protected Member Functions | |
octave_float_fftw_planner (void) | |
Private Member Functions | |
octave_float_fftw_planner (const octave_float_fftw_planner &) | |
void * | 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 FloatComplex *in, FloatComplex *out) |
void * | do_create_plan (const int rank, const dim_vector dims, octave_idx_type howmany, octave_idx_type stride, octave_idx_type dist, const float *in, FloatComplex *out) |
FftwMethod | do_method (void) |
FftwMethod | do_method (FftwMethod _meth) |
octave_float_fftw_planner & | operator= (const octave_float_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 |
void * | plan [2] |
int | r [2] |
octave_idx_type | rd |
octave_idx_type | rh |
dim_vector | rn |
void * | rplan |
int | rr |
octave_idx_type | rs |
bool | rsimd_align |
octave_idx_type | s [2] |
bool | simd_align [2] |
Static Private Attributes | |
static octave_float_fftw_planner * | instance = 0 |
Definition at line 178 of file oct-fftw.h.
Enumerator | |
---|---|
UNKNOWN | |
ESTIMATE | |
MEASURE | |
PATIENT | |
EXHAUSTIVE | |
HYBRID |
Definition at line 190 of file oct-fftw.h.
|
protected |
Definition at line 425 of file oct-fftw.cc.
References d, h, inplace, n, nthreads, OCTAVE_NPROC_CURRENT, octave_num_processors_wrapper(), plan, r, s, and simd_align.
Referenced by instance_ok().
octave_float_fftw_planner::~octave_float_fftw_planner | ( | void | ) |
Definition at line 450 of file oct-fftw.cc.
|
private |
|
inlinestaticprivate |
Definition at line 256 of file oct-fftw.h.
Referenced by instance_ok().
|
inlinestatic |
Definition at line 203 of file oct-fftw.h.
Referenced by octave_fftw::fft(), octave_fftw::fftNd(), octave_fftw::ifft(), and octave_fftw::ifftNd().
|
inlinestatic |
Definition at line 215 of file oct-fftw.h.
|
private |
Definition at line 505 of file oct-fftw.cc.
References CHECK_SIMD_ALIGNMENT, d, dims, ESTIMATE, EXHAUSTIVE, h, HYBRID, inplace, MEASURE, meth, n, nn, OCTAVE_LOCAL_BUFFER, PATIENT, plan, r, s, simd_align, tmp, and UNKNOWN.
|
private |
Definition at line 631 of file oct-fftw.cc.
References CHECK_SIMD_ALIGNMENT, dims, ESTIMATE, EXHAUSTIVE, HYBRID, MEASURE, meth, nn, OCTAVE_LOCAL_BUFFER, PATIENT, rd, rh, rn, rplan, rr, rs, rsimd_align, tmp, and UNKNOWN.
|
private |
Definition at line 750 of file oct-fftw.cc.
References meth.
|
private |
|
static |
Definition at line 468 of file oct-fftw.cc.
References singleton_cleanup_list::add(), cleanup_instance(), instance, octave_float_fftw_planner(), and retval.
Referenced by threads().
|
inlinestatic |
Definition at line 225 of file oct-fftw.h.
Referenced by Gfftw().
|
inlinestatic |
Definition at line 232 of file oct-fftw.h.
|
private |
|
static |
Definition at line 488 of file oct-fftw.cc.
References instance, instance_ok(), nthreads, plan, rplan, and threads().
|
inlinestatic |
Definition at line 241 of file oct-fftw.h.
|
private |
Definition at line 281 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_float_fftw_planner().
|
private |
Definition at line 290 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_float_fftw_planner().
|
private |
Definition at line 296 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_float_fftw_planner().
|
staticprivate |
Definition at line 254 of file oct-fftw.h.
Referenced by instance_ok(), and threads().
|
private |
Definition at line 273 of file oct-fftw.h.
Referenced by do_create_plan(), and do_method().
|
private |
Definition at line 293 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_float_fftw_planner().
|
private |
Definition at line 320 of file oct-fftw.h.
Referenced by octave_float_fftw_planner(), and threads().
|
private |
Definition at line 278 of file oct-fftw.h.
Referenced by do_create_plan(), do_method(), octave_float_fftw_planner(), threads(), and ~octave_float_fftw_planner().
|
private |
Definition at line 287 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_float_fftw_planner().
|
private |
Definition at line 302 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 311 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 314 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 299 of file oct-fftw.h.
Referenced by do_create_plan(), do_method(), threads(), and ~octave_float_fftw_planner().
|
private |
Definition at line 308 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 305 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 316 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 284 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_float_fftw_planner().
|
private |
Definition at line 295 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_float_fftw_planner().