NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library
integration::Integrator< T > Class Template Reference

Class Integrator contains all kinds of weights for integration and differentiation of a function at equally spaced abscissae, up to a certain order k of accuray. More...

#include <integration.hpp>

Public Member Functions

bd_weights (int l)
  Returns the the backwards differencing coefficients. More...
 
int get_k (void)
  Returns the order \(k\) of the integrator class. More...
 
gregory_omega (int j)
  Returns the Gregory weights at the integral boundaries (see gregory_weights). More...
 
gregory_weights (int n, int j)
  Returns the Gregory weights for integration. More...
 
template<class M >
integrate (const std::vector< M > &f, int n)
  Integrates a function using Gregory quadrature. More...
 
 Integrator (int k=0)
  Initializes the Integrator class for a given order k. More...
 
 Integrator (const Integrator &I)
 
int k (void)
  Returns the order \(k\) of the integrator class. More...
 
Integratoroperator= (const Integrator &I)
 
poly_differentiation (int i, int l)
  Returns the the weight needed for polynomial differentiation. More...
 
poly_integration (int i, int j, int l)
  Returns the the weight needed for polynomial integration. More...
 
poly_interpolation (int alpha, int l)
  Returns the the weight needed for polynomial interpolation. More...
 
rcorr (int m, int j, int l)
  Returns the special quadrature weights for computing integrals on the Matsubara axis. More...
 
 ~Integrator ()
 

Detailed Description

template<typename T = double>
class integration::Integrator< T >

Class Integrator contains all kinds of weights for integration and differentiation of a function at equally spaced abscissae, up to a certain order k of accuray.

Purpose

Class Integrator contains all kinds of weights for integration and differentiation of a function at equally spaced abscissae, up to a certain order k of accuray. In particular, the class contains coefficients for

  • Gregory quadrature
  • polynomial quadrature
  • polynomial interpolation
  • polynomial differentiation
  • coefficients for the backwards differencing formula (BDF)

Definition at line 128 of file integration.hpp.


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