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/methods/finitedifferences/operators/fdm2dblackscholesop"
Fdm2dBlackScholesOp
Class Fdm2dBlackScholesOp
Hierarchy
FdmLinearOpComposite
Fdm2dBlackScholesOp
Index
Constructors
constructor
Properties
_corr
MapT
_corr
Map
Template
_current
Forward
Rate
_illegal
Local
Vol
Overwrite
_local
Vol1
_local
Vol2
_mesher
_opX
_opY
_p1
_p2
_x
_y
Methods
apply
apply_
direction
apply_
mixed
preconditioner
set
Time
size
solve_
splitting
to
Matrix
to
Matrix
Decomp
Constructors
constructor
new
Fdm2d
Black
Scholes
Op
(
mesher
:
FdmMesher
, p1
:
GeneralizedBlackScholesProcess
, p2
:
GeneralizedBlackScholesProcess
, correlation
:
Real
, maturity
:
Time
, localVol
?:
boolean
, illegalLocalVolOverwrite
?:
Real
)
:
Fdm2dBlackScholesOp
Parameters
mesher:
FdmMesher
p1:
GeneralizedBlackScholesProcess
p2:
GeneralizedBlackScholesProcess
correlation:
Real
maturity:
Time
Default value
localVol:
boolean
= false
Default value
illegalLocalVolOverwrite:
Real
= -QL_NULL_REAL
Returns
Fdm2dBlackScholesOp
Properties
Private
_corr
MapT
_corr
MapT
:
NinePointLinearOp
Private
_corr
Map
Template
_corr
Map
Template
:
NinePointLinearOp
Private
_current
Forward
Rate
_current
Forward
Rate
:
Real
Private
_illegal
Local
Vol
Overwrite
_illegal
Local
Vol
Overwrite
:
Real
Private
_local
Vol1
_local
Vol1
:
LocalVolTermStructure
Private
_local
Vol2
_local
Vol2
:
LocalVolTermStructure
Private
_mesher
_mesher
:
FdmMesher
Private
_opX
_opX
:
FdmBlackScholesOp
Private
_opY
_opY
:
FdmBlackScholesOp
Private
_p1
_p1
:
GeneralizedBlackScholesProcess
Private
_p2
_p2
:
GeneralizedBlackScholesProcess
Private
_x
_x
:
Real
[]
Private
_y
_y
:
Real
[]
Methods
apply
apply
(
x
:
Real
[]
)
:
Real
[]
Parameters
x:
Real
[]
Returns
Real
[]
apply_
direction
apply_
direction
(
direction
:
Size
, x
:
Real
[]
)
:
Real
[]
Parameters
direction:
Size
x:
Real
[]
Returns
Real
[]
apply_
mixed
apply_
mixed
(
x
:
Real
[]
)
:
Real
[]
Parameters
x:
Real
[]
Returns
Real
[]
preconditioner
preconditioner
(
r
:
Real
[]
, dt
:
Real
)
:
Real
[]
Parameters
r:
Real
[]
dt:
Real
Returns
Real
[]
set
Time
set
Time
(
t1
:
Time
, t2
:
Time
)
:
void
Parameters
t1:
Time
t2:
Time
Returns
void
size
size
(
)
:
Size
Returns
Size
solve_
splitting
solve_
splitting
(
direction
:
Size
, x
:
Real
[]
, s
:
Real
)
:
Real
[]
Parameters
direction:
Size
x:
Real
[]
s:
Real
Returns
Real
[]
to
Matrix
to
Matrix
(
)
:
SparseMatrix
Returns
SparseMatrix
to
Matrix
Decomp
to
Matrix
Decomp
(
)
:
SparseMatrix
[]
Returns
SparseMatrix
[]
Globals
"ql/methods/finitedifferences/operators/fdm2dblackscholesop"
Fdm2d
Black
Scholes
Op
constructor
_corr
MapT
_corr
Map
Template
_current
Forward
Rate
_illegal
Local
Vol
Overwrite
_local
Vol1
_local
Vol2
_mesher
_opX
_opY
_p1
_p2
_x
_y
apply
apply_
direction
apply_
mixed
preconditioner
set
Time
size
solve_
splitting
to
Matrix
to
Matrix
Decomp