All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes
o2scl::gsl_fft Class Reference

Real mixed-radix fast Fourier transform. More...

Detailed Description

This is a simple wrapper for the GSL FFT functions which automatically allocates the necessary memory.

Idea for Future:
Generalize to generic vector types.

Definition at line 45 of file gsl_fft.h.

#include <gsl_fft.h>

Public Member Functions

int transform (int n, double *x)
 Perform the FFT transform.
 
int inverse_transform (int n, double *x)
 Perform the inverse FFT transform.
 

Protected Member Functions

int mem_resize (int new_size)
 Reallocate memory.
 

Protected Attributes

int mem_size
 The current memory size.
 
gsl_fft_real_workspace * work
 The GSL workspace.
 
gsl_fft_real_wavetable * real
 The table for the forward transform.
 
gsl_fft_halfcomplex_wavetable * hc
 The table for the inverse transform.
 

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

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).
Hosted at Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads..