mimas::rfft_t< Real, Dim, TPtr > Struct Template Reference
[Fourier transformations using boost::multi_array]

Discrete fourier transform of real values using fftw. More...

#include <fourier.h>

Inheritance diagram for mimas::rfft_t< Real, Dim, TPtr >:

Inheritance graph
[legend]
Collaboration diagram for mimas::rfft_t< Real, Dim, TPtr >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

boost::multi_array< std::complex<
Real >, Dim > 
operator() (const boost::const_multi_array_ref< Real, Dim, TPtr > &field)

Detailed Description

template<typename Real, std::size_t Dim, typename TPtr>
struct mimas::rfft_t< Real, Dim, TPtr >

Discrete fourier transform of real values using fftw.

The fourier transform of a real (multidimensional) function is point-symmetric. Thus it is sufficient to compute only half of the values of the corresponding discrete fourier transform.

If the input array is an element of $\mathbf{R}^{n_1\times n_2\times \ldots\times n_d}$, then the result will be element of $\mathbf{C}^{n_1\times n_2\times\ldots\times (n_d/2+1)}$.

In this implementation $n_d$ always must be even, so that no additional information for a later inverse transform is required!

See also:
rfft

Definition at line 94 of file fourier.h.


Member Function Documentation

template<typename Real, std::size_t Dim, typename TPtr>
boost::multi_array< std::complex< Real >, Dim > mimas::rfft_t< Real, Dim, TPtr >::operator() ( const boost::const_multi_array_ref< Real, Dim, TPtr > &  field  ) 


The documentation for this struct was generated from the following file:
[GNU/Linux] [Qt] [Mesa] [STL] [Lapack] [Boost] [Magick++] [Xalan-C and Xerces-C] [doxygen] [graphviz] [FFTW] [popt] [xine] [Gnuplot] [gnu-arch] [gcc] [gstreamer] [autoconf/automake/make] [freshmeat.net] [opensource.org] [sourceforge.net] [MMVL]
mimas 2.1 - Copyright Mon Oct 30 11:31:27 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...