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/pricingengines/capfloor/treecapfloorengine"
TreeCapFloorEngine
Class TreeCapFloorEngine
Numerical lattice engine for cap/floors
Hierarchy
LatticeShortRateModelEngine
<
Arguments
,
Results
>
TreeCapFloorEngine
Implements
Observable
Observer
PricingEngine
Index
Properties
_arguments
_is
Disposed
_lattice
_model
_observables
_observers
_results
_term
Structure
_time
Grid
_time
Steps
deep
Update
dispose
is
Disposed
notify
Observers
register
Observer
register
With
register
With
Observables
unregister
Observer
unregister
With
unregister
With
All
Methods
calculate
get
Arguments
get
Results
init1
init2
lsrme
Init1
lsrme
Init2
lsrme
Init3
reset
tcfe
Init1
tcfe
Init2
update
Properties
_arguments
_arguments
:
Arguments
_is
Disposed
_is
Disposed
:
boolean
= false
Protected
_lattice
_lattice
:
Lattice
_model
_model
:
Handle
<
ShortRateModel
>
_observables
_observables
:
Set
<
Observable
>
= new Set()
_observers
_observers
:
Set
<
Observer
>
= new Set()
_results
_results
:
Results
Private
_term
Structure
_term
Structure
:
Handle
<
YieldTermStructure
>
Protected
_time
Grid
_time
Grid
:
TimeGrid
Protected
_time
Steps
_time
Steps
:
Size
deep
Update
deep
Update
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
dispose
dispose
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
is
Disposed
is
Disposed
:
boolean
notify
Observers
notify
Observers
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
register
Observer
register
Observer
:
(
o
:
Observer
)
=>
void
Type declaration
(
o
:
Observer
)
:
void
Parameters
o:
Observer
Returns
void
register
With
register
With
:
(
h
:
Observable
)
=>
void
Type declaration
(
h
:
Observable
)
:
void
Parameters
h:
Observable
Returns
void
register
With
Observables
register
With
Observables
:
(
o
:
Observer
)
=>
void
Type declaration
(
o
:
Observer
)
:
void
Parameters
o:
Observer
Returns
void
unregister
Observer
unregister
Observer
:
(
o
:
Observer
)
=>
void
Type declaration
(
o
:
Observer
)
:
void
Parameters
o:
Observer
Returns
void
unregister
With
unregister
With
:
(
h
:
Observable
)
=>
Size
Type declaration
(
h
:
Observable
)
:
Size
Parameters
h:
Observable
Returns
Size
unregister
With
All
unregister
With
All
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
Methods
calculate
calculate
(
)
:
void
Returns
void
get
Arguments
get
Arguments
(
)
:
Arguments
Returns
Arguments
get
Results
get
Results
(
)
:
Results
Returns
Results
init1
init1
(
model
?:
Handle
<
ShortRateModel
>
)
:
GenericModelEngine
<
ShortRateModel
,
Arguments
,
Results
>
Parameters
Default value
model:
Handle
<
ShortRateModel
>
= new Handle()
Returns
GenericModelEngine
<
ShortRateModel
,
Arguments
,
Results
>
init2
init2
(
model
:
ShortRateModel
)
:
GenericModelEngine
<
ShortRateModel
,
Arguments
,
Results
>
Parameters
model:
ShortRateModel
Returns
GenericModelEngine
<
ShortRateModel
,
Arguments
,
Results
>
lsrme
Init1
lsrme
Init1
(
model
:
ShortRateModel
, timeSteps
:
Size
)
:
LatticeShortRateModelEngine
<
Arguments
,
Results
>
Parameters
model:
ShortRateModel
timeSteps:
Size
Returns
LatticeShortRateModelEngine
<
Arguments
,
Results
>
lsrme
Init2
lsrme
Init2
(
model
:
Handle
<
ShortRateModel
>
, timeSteps
:
Size
)
:
LatticeShortRateModelEngine
<
Arguments
,
Results
>
Parameters
model:
Handle
<
ShortRateModel
>
timeSteps:
Size
Returns
LatticeShortRateModelEngine
<
Arguments
,
Results
>
lsrme
Init3
lsrme
Init3
(
model
:
ShortRateModel
, timeGrid
:
TimeGrid
)
:
LatticeShortRateModelEngine
<
Arguments
,
Results
>
Parameters
model:
ShortRateModel
timeGrid:
TimeGrid
Returns
LatticeShortRateModelEngine
<
Arguments
,
Results
>
reset
reset
(
)
:
void
Returns
void
tcfe
Init1
tcfe
Init1
(
model
:
ShortRateModel
, timeSteps
:
Size
, termStructure
?:
Handle
<
YieldTermStructure
>
)
:
TreeCapFloorEngine
Parameters
model:
ShortRateModel
timeSteps:
Size
Default value
termStructure:
Handle
<
YieldTermStructure
>
= new Handle()
Returns
TreeCapFloorEngine
tcfe
Init2
tcfe
Init2
(
model
:
ShortRateModel
, timeGrid
:
TimeGrid
, termStructure
?:
Handle
<
YieldTermStructure
>
)
:
TreeCapFloorEngine
Parameters
model:
ShortRateModel
timeGrid:
TimeGrid
Default value
termStructure:
Handle
<
YieldTermStructure
>
= new Handle()
Returns
TreeCapFloorEngine
update
update
(
)
:
void
Returns
void
Globals
"ql/pricingengines/capfloor/treecapfloorengine"
Tree
Cap
Floor
Engine
_arguments
_is
Disposed
_lattice
_model
_observables
_observers
_results
_term
Structure
_time
Grid
_time
Steps
deep
Update
dispose
is
Disposed
notify
Observers
register
Observer
register
With
register
With
Observables
unregister
Observer
unregister
With
unregister
With
All
calculate
get
Arguments
get
Results
init1
init2
lsrme
Init1
lsrme
Init2
lsrme
Init3
reset
tcfe
Init1
tcfe
Init2
update
Numerical lattice engine for cap/floors