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/mixedinterpolation"
MixedInterpolationImpl
Class MixedInterpolationImpl<I1, I2>
Type parameters
I1
:
Interpolator
I2
:
Interpolator
Hierarchy
templateImpl
MixedInterpolationImpl
Index
Constructors
constructor
Properties
_interpolation1
_interpolation2
_n
_x
_x
Begin
_x
Begin2
_x
End
_y
_y
Begin
_y
Begin2
Methods
derivative
is
InRange
locate
primitive
second
Derivative
switch
Index
ti
Init
update
value1
value2
x
Max
x
Min
x
Values
y
Values
Constructors
constructor
new
Mixed
Interpolation
Impl
(
x
:
Real
[]
, xBegin
:
Size
, xEnd
:
Size
, y
:
Real
[]
, yBegin
:
Size
, n
:
Size
, behavior
?:
Behavior
, factory1
?:
I1
, factory2
?:
I2
)
:
MixedInterpolationImpl
Parameters
x:
Real
[]
xBegin:
Size
xEnd:
Size
y:
Real
[]
yBegin:
Size
n:
Size
Default value
behavior:
Behavior
= MixedInterpolation.Behavior.ShareRanges
Default value
factory1:
I1
= null
Default value
factory2:
I2
= null
Returns
MixedInterpolationImpl
Properties
Private
_interpolation1
_interpolation1
:
Interpolation
Private
_interpolation2
_interpolation2
:
Interpolation
Private
_n
_n
:
Size
_x
_x
:
Real
[]
_x
Begin
_x
Begin
:
Size
Private
_x
Begin2
_x
Begin2
:
Size
_x
End
_x
End
:
Size
_y
_y
:
Real
[]
_y
Begin
_y
Begin
:
Size
Private
_y
Begin2
_y
Begin2
:
Size
Methods
derivative
derivative
(
x
:
Real
)
:
Real
Parameters
x:
Real
Returns
Real
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
switch
Index
switch
Index
(
)
:
Size
Returns
Size
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/mixedinterpolation"
Mixed
Interpolation
Mixed
Interpolation
Impl
constructor
_interpolation1
_interpolation2
_n
_x
_x
Begin
_x
Begin2
_x
End
_y
_y
Begin
_y
Begin2
derivative
is
InRange
locate
primitive
second
Derivative
switch
Index
ti
Init
update
value1
value2
x
Max
x
Min
x
Values
y
Values
Mixed
Linear
Cubic
Mixed
Linear
Cubic
Interpolation
Mixed
Linear
Cubic
Natural
Spline
Mixed
Linear
Fritsch
Butland
Cubic
Mixed
Linear
Kruger
Cubic
Mixed
Linear
Monotonic
Cubic
Natural
Spline
Mixed
Linear
Monotonic
Parabolic
Mixed
Linear
Parabolic