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/swaption/fdg2swaptionengine"
FdG2SwaptionEngine
Class FdG2SwaptionEngine
Hierarchy
GenericModelEngine
<
G2
,
Arguments
,
Results
>
FdG2SwaptionEngine
Implements
Observable
Observer
PricingEngine
Index
Constructors
constructor
Properties
_arguments
_damping
Steps
_inv
Eps
_is
Disposed
_model
_observables
_observers
_results
_scheme
Desc
_t
Grid
_x
Grid
_y
Grid
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
reset
update
Constructors
constructor
new
FdG2
Swaption
Engine
(
model
:
G2
, tGrid
?:
Size
, xGrid
?:
Size
, yGrid
?:
Size
, dampingSteps
?:
Size
, invEps
?:
Real
, schemeDesc
?:
FdmSchemeDesc
)
:
FdG2SwaptionEngine
Parameters
model:
G2
Default value
tGrid:
Size
= 100
Default value
xGrid:
Size
= 50
Default value
yGrid:
Size
= 50
Default value
dampingSteps:
Size
= 0
Default value
invEps:
Real
= 0.00001
Default value
schemeDesc:
FdmSchemeDesc
= FdmSchemeDesc.Hundsdorfer()
Returns
FdG2SwaptionEngine
Properties
_arguments
_arguments
:
Arguments
Private
_damping
Steps
_damping
Steps
:
Size
Private
_inv
Eps
_inv
Eps
:
Real
_is
Disposed
_is
Disposed
:
boolean
= false
_model
_model
:
Handle
<
G2
>
_observables
_observables
:
Set
<
Observable
>
= new Set()
_observers
_observers
:
Set
<
Observer
>
= new Set()
_results
_results
:
Results
Private
_scheme
Desc
_scheme
Desc
:
FdmSchemeDesc
Private
_t
Grid
_t
Grid
:
Size
Private
_x
Grid
_x
Grid
:
Size
Private
_y
Grid
_y
Grid
:
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
<
G2
>
)
:
GenericModelEngine
<
G2
,
Arguments
,
Results
>
Parameters
Default value
model:
Handle
<
G2
>
= new Handle()
Returns
GenericModelEngine
<
G2
,
Arguments
,
Results
>
init2
init2
(
model
:
G2
)
:
GenericModelEngine
<
G2
,
Arguments
,
Results
>
Parameters
model:
G2
Returns
GenericModelEngine
<
G2
,
Arguments
,
Results
>
reset
reset
(
)
:
void
Returns
void
update
update
(
)
:
void
Returns
void
Globals
"ql/pricingengines/swaption/fdg2swaptionengine"
Fd
G2Swaption
Engine
constructor
_arguments
_damping
Steps
_inv
Eps
_is
Disposed
_model
_observables
_observers
_results
_scheme
Desc
_t
Grid
_x
Grid
_y
Grid
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
reset
update