QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
ExpSinhIntegral Class Reference

#include <expsinhintegral.hpp>

+ Inheritance diagram for ExpSinhIntegral:
+ Collaboration diagram for ExpSinhIntegral:

Public Member Functions

 ExpSinhIntegral (Real relTolerance=0, Size maxRefinements=0)
 
Real integrate (const ext::function< Real(Real)> &f) const
 
- Public Member Functions inherited from Integrator
 Integrator (Real absoluteAccuracy, Size maxEvaluations)
 
virtual ~Integrator ()=default
 
Real operator() (const ext::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 ext::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
 

Detailed Description

Definition at line 87 of file expsinhintegral.hpp.

Constructor & Destructor Documentation

◆ ExpSinhIntegral()

ExpSinhIntegral ( Real  relTolerance = 0,
Size  maxRefinements = 0 
)
explicit

Definition at line 89 of file expsinhintegral.hpp.

Member Function Documentation

◆ integrate() [1/2]

Real integrate ( const ext::function< Real(Real)> &  f) const

Definition at line 94 of file expsinhintegral.hpp.

◆ integrate() [2/2]

Real integrate ( const ext::function< Real(Real)> &  f,
Real  a,
Real  b 
) const
overrideprotectedvirtual

Implements Integrator.

Definition at line 99 of file expsinhintegral.hpp.