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/math/interpolations/convexmonotoneinterpolation"
ConvexMonotoneImpl
Class ConvexMonotoneImpl
Hierarchy
templateImpl
ConvexMonotoneImpl
Index
Enumerations
Section
Type
Constructors
constructor
Properties
_constant
Last
Period
_extrapolation
Helper
_force
Positive
_length
_monotonicity
_pre
Section
Helpers
_quadraticity
_section
Helpers
_x
_x
Begin
_x
End
_y
_y
Begin
Methods
derivative
get
Existing
Helpers
is
InRange
locate
primitive
second
Derivative
ti
Init
update
value1
value2
x
Max
x
Min
x
Values
y
Values
Constructors
constructor
new
Convex
Monotone
Impl
(
x
:
Real
[]
, xBegin
:
Size
, xEnd
:
Size
, y
:
Real
[]
, yBegin
:
Size
, quadraticity
:
Real
, monotonicity
:
Real
, forcePositive
:
boolean
, constantLastPeriod
:
boolean
, preExistingHelpers
:
Map
<
Real
,
SectionHelper
>
)
:
ConvexMonotoneImpl
Parameters
x:
Real
[]
xBegin:
Size
xEnd:
Size
y:
Real
[]
yBegin:
Size
quadraticity:
Real
monotonicity:
Real
forcePositive:
boolean
constantLastPeriod:
boolean
preExistingHelpers:
Map
<
Real
,
SectionHelper
>
Returns
ConvexMonotoneImpl
Properties
Private
_constant
Last
Period
_constant
Last
Period
:
boolean
Private
_extrapolation
Helper
_extrapolation
Helper
:
SectionHelper
Private
_force
Positive
_force
Positive
:
boolean
Private
_length
_length
:
Size
Private
_monotonicity
_monotonicity
:
Real
Private
_pre
Section
Helpers
_pre
Section
Helpers
:
Map
<
Real
,
SectionHelper
>
Private
_quadraticity
_quadraticity
:
Real
Private
_section
Helpers
_section
Helpers
:
Map
<
Real
,
SectionHelper
>
_x
_x
:
Real
[]
_x
Begin
_x
Begin
:
Size
_x
End
_x
End
:
Size
_y
_y
:
Real
[]
_y
Begin
_y
Begin
:
Size
Methods
derivative
derivative
(
x
:
Real
)
:
Real
Parameters
x:
Real
Returns
Real
get
Existing
Helpers
get
Existing
Helpers
(
)
:
Map
<
Real
,
SectionHelper
>
Returns
Map
<
Real
,
SectionHelper
>
is
InRange
is
InRange
(
x
:
Real
)
:
boolean
Parameters
x:
Real
Returns
boolean
locate
locate
(
x
:
Real
)
:
Size
Parameters
x:
Real
Returns
Size
primitive
primitive
(
x
:
Real
)
:
Real
Parameters
x:
Real
Returns
Real
second
Derivative
second
Derivative
(
x
:
Real
)
:
Real
Parameters
x:
Real
Returns
Real
ti
Init
ti
Init
(
x
:
Real
[]
, xBegin
:
Size
, xEnd
:
Size
, y
:
Real
[]
, yBegin
:
Size
, requiredPoints
?:
Integer
)
:
templateImpl
Parameters
x:
Real
[]
xBegin:
Size
xEnd:
Size
y:
Real
[]
yBegin:
Size
Default value
requiredPoints:
Integer
= 2
Returns
templateImpl
update
update
(
)
:
void
Returns
void
value1
value1
(
x
:
Real
)
:
Real
Parameters
x:
Real
Returns
Real
value2
value2
(
y
:
Real
[]
, x
:
Real
)
:
Real
Parameters
y:
Real
[]
x:
Real
Returns
Real
x
Max
x
Max
(
)
:
Real
Returns
Real
x
Min
x
Min
(
)
:
Real
Returns
Real
x
Values
x
Values
(
)
:
Real
[]
Returns
Real
[]
y
Values
y
Values
(
)
:
Real
[]
Returns
Real
[]
Globals
"ql/math/interpolations/convexmonotoneinterpolation"
Combo
Helper
Constant
Grad
Helper
Convex
Monotone
Convex
Monotone2
Helper
Convex
Monotone3
Helper
Convex
Monotone4
Helper
Convex
Monotone4
Min
Helper
Convex
Monotone
Impl
Section
Type
constructor
_constant
Last
Period
_extrapolation
Helper
_force
Positive
_length
_monotonicity
_pre
Section
Helpers
_quadraticity
_section
Helpers
_x
_x
Begin
_x
End
_y
_y
Begin
derivative
get
Existing
Helpers
is
InRange
locate
primitive
second
Derivative
ti
Init
update
value1
value2
x
Max
x
Min
x
Values
y
Values
Convex
Monotone
Interpolation
Everywhere
Constant
Helper
Quadratic
Helper
Quadratic
Min
Helper
Section
Helper