NESSi  v1.0.2 The NonEquilibrium Systems Simulation Library

Class adft_func contains functions for computing accurate Fourier transforms by adaptive splitting of intervals. More...

#include <fourier.hpp>

## Public Types

typedef std::complex< double > cplx

## Public Member Functions

void dft (double w, cplx &result, cplx &err)
Computes the cubically corrected DFT. More...

template<class function >
void sample (double w, double a, double b, function &fz, int n, int limit)
Fourier samples the given function to determine the individual intervals. More...

## Detailed Description

Class adft_func contains functions for computing accurate Fourier transforms by adaptive splitting of intervals.

Purpose

Class adft_func contains functions for computing accurate Fourier transform by adaptive splitting of intervals. For computing the integral $$I(\omega) = \int^b_a dt\, e^{i \omega t} f(t)$$, cubically corrected DFT (see dft_cplx) is used. From the error estimate of dft_cplx, the integration interval $$[a,b]$$ can be split further until the error is below a given threshold for all interval.

Definition at line 42 of file fourier.hpp.

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