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/lagrangeinterpolation"
LagrangeInterpolationImpl
Class LagrangeInterpolationImpl
Hierarchy
templateImpl
LagrangeInterpolationImpl
Index
Constructors
constructor
Properties
_lambda
_n
_x
_x
Begin
_x
End
_y
_y
Begin
Methods
_value
derivative
is
InRange
locate
primitive
second
Derivative
ti
Init
update
value1
value2
x
Max
x
Min
x
Values
y
Values
Constructors
constructor
new
Lagrange
Interpolation
Impl
(
x
:
Real
[]
, xBegin
:
Size
, xEnd
:
Size
, y
:
Real
[]
, yBegin
:
Size
)
:
LagrangeInterpolationImpl
Parameters
x:
Real
[]
xBegin:
Size
xEnd:
Size
y:
Real
[]
yBegin:
Size
Returns
LagrangeInterpolationImpl
Properties
Private
_lambda
_lambda
:
Real
[]
Private
_n
_n
:
Size
_x
_x
:
Real
[]
_x
Begin
_x
Begin
:
Size
_x
End
_x
End
:
Size
_y
_y
:
Real
[]
_y
Begin
_y
Begin
:
Size
Methods
Private
_value
_value
(
y
:
Real
[]
, yBegin
:
Size
, x
:
Real
)
:
number
Parameters
y:
Real
[]
yBegin:
Size
x:
Real
Returns
number
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
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
)
:
number
Parameters
x:
Real
Returns
number
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/lagrangeinterpolation"
Lagrange
Interpolation
Lagrange
Interpolation
Impl
constructor
_lambda
_n
_x
_x
Begin
_x
End
_y
_y
Begin
_value
derivative
is
InRange
locate
primitive
second
Derivative
ti
Init
update
value1
value2
x
Max
x
Min
x
Values
y
Values