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

#include <trapezoidintegral.hpp>

+ Collaboration diagram for MidPoint:

Static Public Member Functions

static Real integrate (const ext::function< Real(Real)> &f, Real a, Real b, Real I, Size N)
 
static Size nbEvalutions ()
 

Detailed Description

Definition at line 101 of file trapezoidintegral.hpp.

Member Function Documentation

◆ integrate()

static Real integrate ( const ext::function< Real(Real)> &  f,
Real  a,
Real  b,
Real  I,
Size  N 
)
static

Definition at line 102 of file trapezoidintegral.hpp.

◆ nbEvalutions()

static Size nbEvalutions ( )
static

Definition at line 116 of file trapezoidintegral.hpp.