|  | 
                  
                  
                    
                    
                    
                    
    
            Doxygen Source Code DocumentationMain Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search
 
 fftw.h File Reference#include <stdlib.h>#include <stdio.h>
Go to the source code of this file. 
|  |  | 
 Data Structures |  | struct | fftw_codelet_desc |  | struct | fftw_complex |  | struct | fftw_plan_node_struct |  | struct | fftw_plan_struct |  | struct | fftw_rader_data_struct |  | struct | fftw_twiddle_struct |  | struct | fftwnd_data |  | 
 Defines |  | #define | FFTW_ENABLE_FLOAT   1 |  | #define | c_re(c)   ((c).re) |  | #define | c_im(c)   ((c).im) |  | #define | FFTW_1_0_COMPATIBILITY   0 |  | #define | DL_IMPORT(type)   type |  | #define | FFTW_ESTIMATE   (0) |  | #define | FFTW_MEASURE   (1) |  | #define | FFTW_OUT_OF_PLACE   (0) |  | #define | FFTW_IN_PLACE   (8) |  | #define | FFTW_USE_WISDOM   (16) |  | #define | FFTW_THREADSAFE   (128) |  | #define | FFTWND_FORCE_BUFFERED   (256) |  | #define | FFTW_NO_VECTOR_RECURSE   (512) |  | #define | FFTW_HAS_PLAN_SPECIFIC |  | #define | fftw_malloc   malloc |  | #define | fftw_free   free |  | #define | fftw_die(s)   (fflush(stdout),fprintf(stderr,"fftw: %s\n",s),exit(1)) |  | #define | fftw_check_memory_leaks |  | #define | fftw_print_max_memory_usage |  | #define | FFTW_HAS_WISDOM |  | #define | FFTW_HAS_FPRINT_PLAN |  | #define | FFTWND_HAS_PRINT_PLAN |  | 
 Typedefs |  | typedef float | fftw_real |  | typedef fftw_complex | FFTW_COMPLEX |  | typedef fftw_real | FFTW_REAL |  | typedef void( | fftw_notw_codelet )(const fftw_complex *, fftw_complex *, int, int) |  | typedef void( | fftw_twiddle_codelet )(fftw_complex *, const fftw_complex *, int, int, int) |  | typedef void( | fftw_generic_codelet )(fftw_complex *, const fftw_complex *, int, int, int, int) |  | typedef void( | fftw_real2hc_codelet )(const fftw_real *, fftw_real *, fftw_real *, int, int, int) |  | typedef void( | fftw_hc2real_codelet )(const fftw_real *, const fftw_real *, fftw_real *, int, int, int) |  | typedef void( | fftw_hc2hc_codelet )(fftw_real *, const fftw_complex *, int, int, int) |  | typedef void( | fftw_rgeneric_codelet )(fftw_real *, const fftw_complex *, int, int, int, int) |  | typedef fftw_twiddle_struct | fftw_twiddle |  | typedef fftw_rader_data_struct | fftw_rader_data |  | typedef void( | fftw_rader_codelet )(fftw_complex *, const fftw_complex *, int, int, int, fftw_rader_data *) |  | typedef fftw_plan_node_struct | fftw_plan_node |  | typedef fftw_plan_struct * | fftw_plan |  | typedef void *(* | fftw_malloc_type_function )(size_t n) |  | typedef void(* | fftw_free_type_function )(void *p) |  | typedef void(* | fftw_die_type_function )(const char *errString) |  | typedef fftwnd_data * | fftwnd_plan |  | 
 Enumerations |  | enum | fftw_direction { FFTW_FORWARD =  -1, 
FFTW_BACKWARD =  1
 } |  | enum | fftw_status { FFTW_SUCCESS =  0, 
FFTW_FAILURE =  -1
 } |  | enum | fftw_node_type { FFTW_NOTW, 
FFTW_TWIDDLE, 
FFTW_GENERIC, 
FFTW_RADER,
 FFTW_REAL2HC, 
FFTW_HC2REAL, 
FFTW_HC2HC, 
FFTW_RGENERIC
 }
 |  | enum | fftw_recurse_kind { FFTW_NORMAL_RECURSE =  0, 
FFTW_VECTOR_RECURSE =  1
 } |  | 
 Functions |  |  | DL_IMPORT (const char *) fftw_version |  | fftw_plan | fftw_create_plan_specific (int n, fftw_direction dir, int flags, fftw_complex *in, int istride, fftw_complex *out, int ostride) |  | fftw_plan | fftw_create_plan (int n, fftw_direction dir, int flags) |  | void | fftw_print_plan (fftw_plan plan) |  | void | fftw_destroy_plan (fftw_plan plan) |  | void | fftw (fftw_plan plan, int howmany, fftw_complex *in, int istride, int idist, fftw_complex *out, int ostride, int odist) |  | void | fftw_one (fftw_plan plan, fftw_complex *in, fftw_complex *out) |  |  | DL_IMPORT (fftw_malloc_type_function) fftw_malloc_hook |  | size_t | fftw_sizeof_fftw_real (void) |  | void | fftw_forget_wisdom (void) |  | void | fftw_export_wisdom (void(*emitter)(char c, void *), void *data) |  | fftw_status | fftw_import_wisdom (int(*g)(void *), void *data) |  | void | fftw_export_wisdom_to_file (FILE *output_file) |  | fftw_status | fftw_import_wisdom_from_file (FILE *input_file) |  | char * | fftw_export_wisdom_to_string (void) |  | fftw_status | fftw_import_wisdom_from_string (const char *input_string) |  | void | fftw_fprint_plan (FILE *f, fftw_plan plan) |  | fftwnd_plan | fftw2d_create_plan (int nx, int ny, fftw_direction dir, int flags) |  | fftwnd_plan | fftw3d_create_plan (int nx, int ny, int nz, fftw_direction dir, int flags) |  | fftwnd_plan | fftwnd_create_plan (int rank, const int *n, fftw_direction dir, int flags) |  | fftwnd_plan | fftw2d_create_plan_specific (int nx, int ny, fftw_direction dir, int flags, fftw_complex *in, int istride, fftw_complex *out, int ostride) |  | fftwnd_plan | fftw3d_create_plan_specific (int nx, int ny, int nz, fftw_direction dir, int flags, fftw_complex *in, int istride, fftw_complex *out, int ostride) |  | fftwnd_plan | fftwnd_create_plan_specific (int rank, const int *n, fftw_direction dir, int flags, fftw_complex *in, int istride, fftw_complex *out, int ostride) |  | void | fftwnd_destroy_plan (fftwnd_plan plan) |  | void | fftwnd_fprint_plan (FILE *f, fftwnd_plan p) |  | void | fftwnd_print_plan (fftwnd_plan p) |  | void | fftwnd (fftwnd_plan plan, int howmany, fftw_complex *in, int istride, int idist, fftw_complex *out, int ostride, int odist) |  | void | fftwnd_one (fftwnd_plan p, fftw_complex *in, fftw_complex *out) |  
 Define Documentation
 
  
    | 
        
          | #define c_im | ( | c |  | ) | ((c).im) |  |  
 
  
    | 
        
          | #define c_re | ( | c |  | ) | ((c).re) |  |  
 
 
  
    | 
        
          | #define FFTW_1_0_COMPATIBILITY   0 |  |  
 
  
    | 
        
          | #define fftw_check_memory_leaks |  |  
 
  
    | 
        
          | #define fftw_die | ( | s |  | ) | (fflush(stdout),fprintf(stderr,"fftw: %s\n",s),exit(1)) |  |  
 
  
    | 
        
          | #define FFTW_ENABLE_FLOAT   1 |  |  
 
  
    | 
        
          | #define FFTW_ESTIMATE   (0) |  |  
 
 
  
    | 
        
          | #define FFTW_HAS_FPRINT_PLAN |  |  
 
  
    | 
        
          | #define FFTW_HAS_PLAN_SPECIFIC |  |  
 
 
  
    | 
        
          | #define FFTW_IN_PLACE   (8) |  |  
 
  
    | 
        
          | #define fftw_malloc   malloc |  |  
 
 
  
    | 
        
          | #define FFTW_NO_VECTOR_RECURSE   (512) |  |  
 
  
    | 
        
          | #define FFTW_OUT_OF_PLACE   (0) |  |  
 
  
    | 
        
          | #define fftw_print_max_memory_usage |  |  
 
  
    | 
        
          | #define FFTW_THREADSAFE   (128) |  |  
 
  
    | 
        
          | #define FFTW_USE_WISDOM   (16) |  |  
 
  
    | 
        
          | #define FFTWND_FORCE_BUFFERED   (256) |  |  
 
  
    | 
        
          | #define FFTWND_HAS_PRINT_PLAN |  |  
 Typedef Documentation
 
 
  
    | 
        
          | typedef void(* fftw_die_type_function)(const char *errString) |  |  
 
  
    | 
        
          | typedef void(* fftw_free_type_function)(void *p) |  |  
 
 
 
 
  
    | 
        
          | typedef void*(* fftw_malloc_type_function)(size_t n) |  |  
 
 
 
 
 
 
 
 
 
 
 
 
 Enumeration Type Documentation
 
  
    |  | 
 Enumeration values: 
| FFTW_FORWARD |  |  | FFTW_BACKWARD |  | 
 
Definition at line 58 of file fftw.h.
 
 |  
 
  
    |  | 
 Enumeration values: 
| FFTW_NOTW |  |  | FFTW_TWIDDLE |  |  | FFTW_GENERIC |  |  | FFTW_RADER |  |  | FFTW_REAL2HC |  |  | FFTW_HC2REAL |  |  | FFTW_HC2HC |  |  | FFTW_RGENERIC |  | 
 
Definition at line 115 of file fftw.h.
 
 |  
 
  
    |  | 
 Enumeration values: 
| FFTW_NORMAL_RECURSE |  |  | FFTW_VECTOR_RECURSE |  | 
 
Definition at line 261 of file fftw.h.
 
 |  
 
  
    |  | 
 Enumeration values: 
| FFTW_SUCCESS |  |  | FFTW_FAILURE |  | 
 
Definition at line 80 of file fftw.h.
 
 |  
 Function Documentation
 
 
  
    | 
        
          | DL_IMPORT | ( | const char * |  | ) |  |  |  
 
 
 
 
 
 
 
 
 
  
    | 
        
          | void fftw_export_wisdom | ( | void(* | emitter)(char c, void *), |  
          |  |  | void * | data |  
          |  | ) |  |  |  
 
  
    | 
        
          | void fftw_export_wisdom_to_file | ( | FILE * | output_file | ) |  |  |  
 
  
    | 
        
          | char* fftw_export_wisdom_to_string | ( | void |  | ) |  |  |  
 
  
    | 
        
          | void fftw_forget_wisdom | ( | void |  | ) |  |  |  
 
  
    | 
        
          | void fftw_fprint_plan | ( | FILE * | f, |  
          |  |  | fftw_plan | plan |  
          |  | ) |  |  |  
 
  
    | 
        
          | fftw_status fftw_import_wisdom | ( | int(* | g)(void *), |  
          |  |  | void * | data |  
          |  | ) |  |  |  
 
  
    | 
        
          | fftw_status fftw_import_wisdom_from_file | ( | FILE * | input_file | ) |  |  |  
 
  
    | 
        
          | fftw_status fftw_import_wisdom_from_string | ( | const char * | input_string | ) |  |  |  
 
 
 
  
    | 
        
          | size_t fftw_sizeof_fftw_real | ( | void |  | ) |  |  |  
 
 
 
 
 
 
 |