serial_1D_FFT.hpp File Reference

#include "Thyra_LinearOpWithSolveBaseDecl.hpp"
#include "Thyra_SingleRhsLinearOpWithSolveBaseDecl.hpp"

Include dependency graph for serial_1D_FFT.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class RealScalar>
void serial_1D_FFT (RealScalar data[], unsigned long nn, int isign)
 Simple templated function that implements a serial 1D complex-to-complex FFT.


Function Documentation

template<class RealScalar>
void serial_1D_FFT RealScalar  data[],
unsigned long  nn,
int  isign
 

Simple templated function that implements a serial 1D complex-to-complex FFT.

Replaces data[1..2*nn] by its discrete Fourier transform, if isign is input as 1; or replaces data[1..2*nn] by nn times its inverse discrete Fourier transform, if isign is input as -1. data is a complex array of length nn or, equivalently, a real array of length 2*nn. nn MUST be an integer power of 2 (this is not checked for!).

Definition at line 45 of file serial_1D_FFT.hpp.


Generated on Thu Sep 18 12:33:04 2008 for Thyra Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1