Public Member Functions | List of all members
nmx::gsl::Integral Class Reference

The Integral class erste Varianten der gsl-Klasse zur numerischen Integration. Der Template-Parameter ist der spezielle workspace-Typ für diese Gruppe von Routinen. More...

#include <xquad.h>

Inheritance diagram for nmx::gsl::Integral:
nmx::gsl::BaseIntegral< gsl_integration_workspace >

Public Member Functions

template<class FN >
 Integral (FN &fn, size_t size=1000)
 Integral Konstruktor. More...
 
 Integral (const Integral &i)=delete
 Integral. More...
 
Integraloperator= (const Integral &i)=delete
 operator = More...
 
 ~Integral ()
 
auto qng (double xmin, double xmax, double epsabs=1e-9, double epsrel=1e-9)
 qng Integration von stetigen Funktionen keine automatische Schrittweitenanpassung More...
 
int qag (double xmin, double xmax, int key, double epsabs=1e-9, double epsrel=1e-9)
 qag numerische Integration mit automatischer Schrittweitenanpassung (Gauß-Kronrod) More...
 
int qags (double xmin, double xmax, double epsabs=1e-9, double epsrel=1e-9)
 qags numerische Integration mit automatischer Schrittweitenanpassung von singulären Funktionen More...
 
int qagi (double epsabs=1e-9, double epsrel=1e-9)
 qagi numerische Integration mit automatischer Schrittweitenanpassung von - Unendlich bis + Unendlich More...
 
int qagiu (double xmin, double epsabs=0, double epsrel=1e-9)
 qagiu numerische Integration mit automatischer Schrittweitenanpassung von xmin bis + Unendlich More...
 
int qagil (double xmax, double epsabs=1e-9, double epsrel=1e-9)
 qagil numerische Integration mit automatischer Schrittweitenanpassung von - Unendlich bis xmax More...
 
- Public Member Functions inherited from nmx::gsl::BaseIntegral< gsl_integration_workspace >
void show_results (std::ofstream &sout, double expected)
 show_results einfache Ausgabe des Ergebnisses mit Zusatzinformationen More...
 
double result () const
 result More...
 
double error () const
 error More...
 
size_t intervals () const
 intervals More...
 

Additional Inherited Members

- Protected Member Functions inherited from nmx::gsl::BaseIntegral< gsl_integration_workspace >
 BaseIntegral (FN &fn)
 BaseIntegral Konstruktor. More...
 
- Protected Attributes inherited from nmx::gsl::BaseIntegral< gsl_integration_workspace >
gsl_integration_workspace * _workspace
 
gsl_function _gslFunction
 
double _result
 
double _error
 
int _errorCode
 

Detailed Description

The Integral class erste Varianten der gsl-Klasse zur numerischen Integration. Der Template-Parameter ist der spezielle workspace-Typ für diese Gruppe von Routinen.

Definition at line 86 of file xquad.h.

Constructor & Destructor Documentation

◆ Integral() [1/2]

template<class FN >
nmx::gsl::Integral::Integral ( FN &  fn,
size_t  size = 1000 
)
inline

Integral Konstruktor.

Parameters
fnder Integrand
size[a,b] maximale Anzahl der Intervalle [x_i,x_i+1]

Definition at line 96 of file xquad.h.

◆ Integral() [2/2]

nmx::gsl::Integral::Integral ( const Integral i)
delete

Integral.

Parameters
i

◆ ~Integral()

nmx::gsl::Integral::~Integral ( )
inline

gsl-Speicher wird freigegeben

Definition at line 117 of file xquad.h.

Member Function Documentation

◆ operator=()

Integral& nmx::gsl::Integral::operator= ( const Integral i)
delete

operator =

Parameters
i
Returns

◆ qag()

int nmx::gsl::Integral::qag ( double  xmin,
double  xmax,
int  key,
double  epsabs = 1e-9,
double  epsrel = 1e-9 
)
inline

qag numerische Integration mit automatischer Schrittweitenanpassung (Gauß-Kronrod)

Parameters
xminuntere IntervallGrenze
xmaxobere IntervallGrenze
keyAnzahl der Gauß-Punkte
epsabsabsoluter Fehler
epsrelrelativer Fehler
Returns
Fehlercode

Definition at line 152 of file xquad.h.

◆ qagi()

int nmx::gsl::Integral::qagi ( double  epsabs = 1e-9,
double  epsrel = 1e-9 
)
inline

qagi numerische Integration mit automatischer Schrittweitenanpassung von - Unendlich bis + Unendlich

Parameters
epsabsabsoluter Fehler
epsrelrelativer Fehler
Returns
Fehlercode

Definition at line 187 of file xquad.h.

◆ qagil()

int nmx::gsl::Integral::qagil ( double  xmax,
double  epsabs = 1e-9,
double  epsrel = 1e-9 
)
inline

qagil numerische Integration mit automatischer Schrittweitenanpassung von - Unendlich bis xmax

Parameters
xmaxobere Integrationsgrenze
epsabsabsoluter Fehler
epsrelrelativer Fehler
Returns
Fehlercode

Definition at line 222 of file xquad.h.

◆ qagiu()

int nmx::gsl::Integral::qagiu ( double  xmin,
double  epsabs = 0,
double  epsrel = 1e-9 
)
inline

qagiu numerische Integration mit automatischer Schrittweitenanpassung von xmin bis + Unendlich

Parameters
xminuntere Integrationsgrenze
epsabsabsoluter Fehler
epsrelrelativer Fehler
Returns
Fehlercode

Definition at line 204 of file xquad.h.

◆ qags()

int nmx::gsl::Integral::qags ( double  xmin,
double  xmax,
double  epsabs = 1e-9,
double  epsrel = 1e-9 
)
inline

qags numerische Integration mit automatischer Schrittweitenanpassung von singulären Funktionen

Parameters
xminuntere Intervallgrenze
xmaxobere Intervallgrenze
epsabsabsoluter Fehler
epsrelrelativer Fehler
Returns
Fehlercode

Definition at line 171 of file xquad.h.

◆ qng()

auto nmx::gsl::Integral::qng ( double  xmin,
double  xmax,
double  epsabs = 1e-9,
double  epsrel = 1e-9 
)
inline

qng Integration von stetigen Funktionen keine automatische Schrittweitenanpassung

Parameters
xminuntere Intervallgrenze
xmaxobere Intervallgrenze
epsabsabsoluter Fehler
epsrelrelativer Fehler
Returns
Fehlercode und Anzahl der Funktionsauswertungen

Definition at line 132 of file xquad.h.


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