|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
#include <tanhsinhintegral.hpp>
Inheritance diagram for TanhSinhIntegral:
Collaboration diagram for TanhSinhIntegral:Public Member Functions | |
| TanhSinhIntegral (Real relTolerance=0, Size maxRefinements=0, Real minComplement=0) | |
Public Member Functions inherited from Integrator | |
| Integrator (Real absoluteAccuracy, Size maxEvaluations) | |
| virtual | ~Integrator ()=default |
| Real | operator() (const std::function< Real(Real)> &f, Real a, Real b) const |
| void | setAbsoluteAccuracy (Real) |
| void | setMaxEvaluations (Size) |
| Real | absoluteAccuracy () const |
| Size | maxEvaluations () const |
| Real | absoluteError () const |
| Size | numberOfEvaluations () const |
| virtual bool | integrationSuccess () const |
Protected Member Functions | |
| Real | integrate (const std::function< Real(Real)> &f, Real a, Real b) const override |
Protected Member Functions inherited from Integrator | |
| void | setAbsoluteError (Real error) const |
| void | setNumberOfEvaluations (Size evaluations) const |
| void | increaseNumberOfEvaluations (Size increase) const |
Definition at line 77 of file tanhsinhintegral.hpp.
| TanhSinhIntegral | ( | Real | relTolerance = 0, |
| Size | maxRefinements = 0, |
||
| Real | minComplement = 0 |
||
| ) |
Definition at line 79 of file tanhsinhintegral.hpp.
|
overrideprotectedvirtual |
Implements Integrator.
Definition at line 85 of file tanhsinhintegral.hpp.