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/termstructures/yield/fittedbonddiscountcurve"
FittedBondDiscountCurve
FittingMethod
Class FittingMethod
Hierarchy
FittingMethod
ExponentialSplinesFitting
NelsonSiegelFitting
SvenssonFitting
CubicBSplinesFitting
SimplePolynomialFitting
SpreadFittingMethod
Index
Classes
Fitting
Cost
Properties
_calculate
Weights
_constrain
AtZero
_cost
Function
_cost
Value
_curve
_guess
Solution
_l2
_number
OfIterations
_optimization
Method
_solution
_weights
Methods
calculate
clone
constrain
AtZero
discount
discount
Function
fm
Init
init
l2
minimum
Cost
Value
number
OfIterations
optimization
Method
size
solution
weights
Properties
Private
_calculate
Weights
_calculate
Weights
:
boolean
Protected
_constrain
AtZero
_constrain
AtZero
:
boolean
Protected
_cost
Function
_cost
Function
:
FittingCost
Private
_cost
Value
_cost
Value
:
Real
_curve
_curve
:
FittedBondDiscountCurve
Protected
_guess
Solution
_guess
Solution
:
Real
[]
_l2
_l2
:
Real
[]
Private
_number
OfIterations
_number
OfIterations
:
Integer
Private
_optimization
Method
_optimization
Method
:
OptimizationMethod
_solution
_solution
:
Real
[]
_weights
_weights
:
Real
[]
Methods
calculate
calculate
(
)
:
void
Returns
void
clone
clone
(
)
:
FittingMethod
Returns
FittingMethod
constrain
AtZero
constrain
AtZero
(
)
:
boolean
Returns
boolean
discount
discount
(
x
:
Real
[]
, t
:
Time
)
:
DiscountFactor
Parameters
x:
Real
[]
t:
Time
Returns
DiscountFactor
discount
Function
discount
Function
(
x
:
Real
[]
, t
:
Time
)
:
DiscountFactor
Parameters
x:
Real
[]
t:
Time
Returns
DiscountFactor
fm
Init
fm
Init
(
constrainAtZero
?:
boolean
, weights
?:
Real
[]
, optimizationMethod
?:
OptimizationMethod
, l2
?:
Real
[]
)
:
FittingMethod
Parameters
Default value
constrainAtZero:
boolean
= true
Default value
weights:
Real
[]
= []
Default value
optimizationMethod:
OptimizationMethod
= null
Default value
l2:
Real
[]
= []
Returns
FittingMethod
init
init
(
)
:
void
Returns
void
l2
l2
(
)
:
Real
[]
Returns
Real
[]
minimum
Cost
Value
minimum
Cost
Value
(
)
:
Real
Returns
Real
number
OfIterations
number
OfIterations
(
)
:
Integer
Returns
Integer
optimization
Method
optimization
Method
(
)
:
OptimizationMethod
Returns
OptimizationMethod
size
size
(
)
:
Size
Returns
Size
solution
solution
(
)
:
Real
[]
Returns
Real
[]
weights
weights
(
)
:
Real
[]
Returns
Real
[]
Globals
"ql/termstructures/yield/fittedbonddiscountcurve"
Fitted
Bond
Discount
Curve
Fitting
Method
Fitting
Cost
_calculate
Weights
_constrain
AtZero
_cost
Function
_cost
Value
_curve
_guess
Solution
_l2
_number
OfIterations
_optimization
Method
_solution
_weights
calculate
clone
constrain
AtZero
discount
discount
Function
fm
Init
init
l2
minimum
Cost
Value
number
OfIterations
optimization
Method
size
solution
weights