Gobelijn API documentation
- generated for commit a0cbea7
|
Numerical code. More...
Namespaces | |
QuadTests | |
Test code for quadrature code. | |
Classes | |
class | AQRule1 |
Used to disambiguate rules in AdaptiveQuadrature. More... | |
class | AQRule2 |
Used to disambiguate rules in AdaptiveQuadrature. More... | |
class | Bisector |
Given a quadrature rule, a new rule is generated that consists of applying the original rule on both subintervals obtained through bisection. More... | |
class | AdaptiveQuadrature |
The AdaptiveQuadrature is a host class with policy classes QuadRule1, QuadRule2, ErrorPolicy and ConvergencePolicy. More... | |
class | GaussLegendreSelect |
Template definition to allow compile-time selection of GaussLegendre rules. More... | |
class | GaussLegendreSelect< 2 > |
Specialization to select GauusLegendre2 Rule. More... | |
class | GaussLegendreSelect< 4 > |
Specialization to select GauusLegendre4 Rule. More... | |
class | GaussLegendreSelect< 8 > |
Specialization to select GauusLegendre8 Rule. More... | |
class | GaussLegendreSelect< 16 > |
Specialization to select GauusLegendre16 Rule. More... | |
class | GaussLegendreSelect< 32 > |
Specialization to select GauusLegendre32 Rule. More... | |
class | AGL_Quadrature |
AGL (Adaptive GaussLegendre) Quadrature. More... | |
class | StripConstRef |
Convert T const& to T. More... | |
class | OnViolationThrow |
Policy throws a std::runtime_error exception when condition is violated. More... | |
class | OnViolationReturn |
Policy just returns whatever the condition, after writing a message to standard error. More... | |
class | OnViolationExit |
Policy that exits, after writing a message to standard error. More... | |
class | AbsoluteDifference |
Policy that checks convergence via absolute difference. More... | |
class | ComboDifference |
Policy that checks convergence via combo difference. More... | |
class | GaussLegendre2Rule |
The Gauss-Legendre rule of order 2. More... | |
class | GaussLegendre4Rule |
The Gauss-Legendre rule of order 4. More... | |
class | GaussLegendre8Rule |
The Gauss-Legendre rule of order 8. More... | |
class | GaussLegendre16Rule |
The Gauss-Legendre rule of order 16. More... | |
class | GaussLegendre32Rule |
The Gauss-Legendre rule of order 32. More... | |
class | Integral |
Wrap a quadrature algoritm and a functor to produce an integral. More... | |
class | OscillatoryFunctor |
Oscillatory functor. More... | |
class | PowerFunctor |
Power Functor. More... | |
class | SimpsonRule |
The Simpson rule. More... | |
Functions | |
double | abs_diff (double b, double e, double h, function< double(double)> f1, function< double(double)> f2) |
double | abs_diff (double b, double e, double h, std::function< double(double)> f1, std::function< double(double)> f2) |
Compares two functors on a grid and returns maximum absolute difference. More... | |
template<typename QuadAlgorithm , typename Integrand > | |
Integral< QuadAlgorithm, Integrand > | make_integral (QuadAlgorithm const &quad, Integrand const &ftor) |
Helper function that returns an Integral for a quadrature algorithm and a functor. More... | |
Numerical code.
double UA_CoMP::Num::abs_diff | ( | double | b, |
double | e, | ||
double | h, | ||
function< double(double)> | f1, | ||
function< double(double)> | f2 | ||
) |
Definition at line 16 of file abs_diff.cpp.
Referenced by main().
double UA_CoMP::Num::abs_diff | ( | double | b, |
double | e, | ||
double | h, | ||
std::function< double(double)> | f1, | ||
std::function< double(double)> | f2 | ||
) |
Compares two functors on a grid and returns maximum absolute difference.
|
inline |
Helper function that returns an Integral for a quadrature algorithm and a functor.
Definition at line 52 of file Integral.h.
Referenced by main().