Gobelijn API documentation
- generated for commit a0cbea7
|
Wrap a quadrature algoritm and a functor to produce an integral. More...
#include <Integral.h>
Public Member Functions | |
Integral (QuadAlgorithm const &quad, Integrand const &ftor) | |
Constructor initializes all datamembers. More... | |
Integral::result_type | operator() (typename Integral::first_argument_type l, typename Integral::first_argument_type r) const |
Evaluates integral from l to r. More... | |
Private Attributes | |
QuadAlgorithm | fQuadAlgorithm |
Integrand | fIntegrand |
Wrap a quadrature algoritm and a functor to produce an integral.
The integral is a function of its lower and upper integration boundaries. It models the adaptable binary function concept.
Definition at line 19 of file Integral.h.
|
inline |
Constructor initializes all datamembers.
quad | Quadrature algorithm that computes the integral. |
ftor | Functor that get integrated. |
Definition at line 28 of file Integral.h.
|
inline |
Evaluates integral from l to r.
l | Left integration boundary. |
r | Right integration boundary. |
Definition at line 36 of file Integral.h.
References UA_CoMP::Num::Integral< QuadAlgorithm, Integrand >::fIntegrand, and UA_CoMP::Num::Integral< QuadAlgorithm, Integrand >::fQuadAlgorithm.
|
private |
Definition at line 43 of file Integral.h.
Referenced by UA_CoMP::Num::Integral< QuadAlgorithm, Integrand >::operator()().
|
private |
Definition at line 44 of file Integral.h.
Referenced by UA_CoMP::Num::Integral< QuadAlgorithm, Integrand >::operator()().