Search
Preparing search index...
The search index is not available
quantlib.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"ql/experimental/math/piecewiseintegral"
PiecewiseIntegral
Class PiecewiseIntegral
Hierarchy
Integrator
PiecewiseIntegral
Implements
TernaryFunction
<
UnaryFunction
<
Real
,
Real
>
,
Real
,
Real
,
Real
>
Index
Constructors
constructor
Properties
_critical
Points
_eps
_integrator
Methods
absolute
Accuracy
absolute
Error
f
increase
Number
OfEvaluations
integrate
integrate_
h
integration
Success
max
Evaluations
number
OfEvaluations
set
Absolute
Accuracy
set
Absolute
Error
set
Max
Evaluations
set
Number
OfEvaluations
Constructors
constructor
new
Piecewise
Integral
(
integrator
:
Integrator
, criticalPoints
:
Real
[]
, avoidCriticalPoints
?:
boolean
)
:
PiecewiseIntegral
Parameters
integrator:
Integrator
criticalPoints:
Real
[]
Default value
avoidCriticalPoints:
boolean
= true
Returns
PiecewiseIntegral
Properties
Private
_critical
Points
_critical
Points
:
Real
[]
Private
_eps
_eps
:
Real
Private
_integrator
_integrator
:
Integrator
Methods
absolute
Accuracy
absolute
Accuracy
(
)
:
Real
Returns
Real
absolute
Error
absolute
Error
(
)
:
Real
Returns
Real
f
f
(
f
:
UnaryFunction
<
Real
,
Real
>
, a
:
Real
, b
:
Real
)
:
Real
Parameters
f:
UnaryFunction
<
Real
,
Real
>
a:
Real
b:
Real
Returns
Real
increase
Number
OfEvaluations
increase
Number
OfEvaluations
(
increase
:
Size
)
:
void
Parameters
increase:
Size
Returns
void
Protected
integrate
integrate
(
f
:
UnaryFunction
<
Real
,
Real
>
, a
:
Real
, b
:
Real
)
:
Real
Parameters
f:
UnaryFunction
<
Real
,
Real
>
a:
Real
b:
Real
Returns
Real
Private
integrate_
h
integrate_
h
(
f
:
UnaryFunction
<
Real
,
Real
>
, a
:
Real
, b
:
Real
)
:
Real
Parameters
f:
UnaryFunction
<
Real
,
Real
>
a:
Real
b:
Real
Returns
Real
integration
Success
integration
Success
(
)
:
boolean
Returns
boolean
max
Evaluations
max
Evaluations
(
)
:
Size
Returns
Size
number
OfEvaluations
number
OfEvaluations
(
)
:
Size
Returns
Size
set
Absolute
Accuracy
set
Absolute
Accuracy
(
accuracy
:
Real
)
:
void
Parameters
accuracy:
Real
Returns
void
set
Absolute
Error
set
Absolute
Error
(
error
:
Real
)
:
void
Parameters
error:
Real
Returns
void
set
Max
Evaluations
set
Max
Evaluations
(
maxEvaluations
:
Size
)
:
void
Parameters
maxEvaluations:
Size
Returns
void
set
Number
OfEvaluations
set
Number
OfEvaluations
(
evaluations
:
Size
)
:
void
Parameters
evaluations:
Size
Returns
void
Globals
"ql/experimental/math/piecewiseintegral"
Piecewise
Integral
constructor
_critical
Points
_eps
_integrator
absolute
Accuracy
absolute
Error
f
increase
Number
OfEvaluations
integrate
integrate_
h
integration
Success
max
Evaluations
number
OfEvaluations
set
Absolute
Accuracy
set
Absolute
Error
set
Max
Evaluations
set
Number
OfEvaluations