NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library
fourier Namespace Reference

Classes

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

Typedefs

typedef std::complex< double > cplx
 

Functions

void complex_dftcor_cubic (double w, double delta, double a, double b, cplx *endpts, cplx *endcor, double *corfac)
  Returns correction factor \(W(\theta)\) and evaluate boundary correction terms needed for cubically corrected DFT. More...
 
void dft_cplx (double w, int n, double a, double b, cplx *f, cplx &res, cplx &err)
  Computes the Fourier integral \(I(\omega) = \int^b_a dt\, e^{i \omega t}f(t)\) using cubically corrected DFT. More...
 
void get_dftcorr_cubic (double th, double *corfac, cplx *endcor)
  Returns correction factor \(W(\theta)\) and boundary correction terms \(\alpha_j(\theta)\) needed for cubically corrected DFT. More...
 
void get_dftcorr_linear (double th, double *corfac, cplx *endcor)
  Returns correction factor \(W(\theta)\) and boundary correction term \(\alpha_0(\theta)\) needed for linearly corrected DFT. More...