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/fdmblackscholesop"
FdmBlackScholesOp
Class FdmBlackScholesOp
Hierarchy
FdmLinearOpComposite
FdmBlackScholesOp
Index
Constructors
constructor
Properties
_direction
_dx
Map
_dxx
Map
_illegal
Local
Vol
Overwrite
_local
Vol
_mapT
_mesher
_qTS
_rTS
_strike
_volTS
_x
Methods
apply
apply_
direction
apply_
mixed
preconditioner
set
Time
size
solve_
splitting
to
Matrix
to
Matrix
Decomp
Constructors
constructor
new
Fdm
Black
Scholes
Op
(
mesher
:
FdmMesher
, bsProcess
:
GeneralizedBlackScholesProcess
, strike
:
Real
, localVol
?:
boolean
, illegalLocalVolOverwrite
?:
Real
, direction
?:
Size
)
:
FdmBlackScholesOp
Parameters
mesher:
FdmMesher
bsProcess:
GeneralizedBlackScholesProcess
strike:
Real
Default value
localVol:
boolean
= false
Default value
illegalLocalVolOverwrite:
Real
= -QL_NULL_REAL
Default value
direction:
Size
= 0
Returns
FdmBlackScholesOp
Properties
Private
_direction
_direction
:
Size
Private
_dx
Map
_dx
Map
:
FirstDerivativeOp
Private
_dxx
Map
_dxx
Map
:
TripleBandLinearOp
Private
_illegal
Local
Vol
Overwrite
_illegal
Local
Vol
Overwrite
:
Real
Private
_local
Vol
_local
Vol
:
LocalVolTermStructure
Private
_mapT
_mapT
:
TripleBandLinearOp
Private
_mesher
_mesher
:
FdmMesher
Private
_qTS
_qTS
:
YieldTermStructure
Private
_rTS
_rTS
:
YieldTermStructure
Private
_strike
_strike
:
Real
Private
_volTS
_volTS
:
BlackVolTermStructure
Private
_x
_x
:
Real
[]
Methods
apply
apply
(
u
:
Real
[]
)
:
Real
[]
Parameters
u:
Real
[]
Returns
Real
[]
apply_
direction
apply_
direction
(
direction
:
Size
, r
:
Real
[]
)
:
Real
[]
Parameters
direction:
Size
r:
Real
[]
Returns
Real
[]
apply_
mixed
apply_
mixed
(
r
:
Real
[]
)
:
Real
[]
Parameters
r:
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
, r
:
Real
[]
, dt
:
Real
)
:
Real
[]
Parameters
direction:
Size
r:
Real
[]
dt:
Real
Returns
Real
[]
to
Matrix
to
Matrix
(
)
:
SparseMatrix
Returns
SparseMatrix
to
Matrix
Decomp
to
Matrix
Decomp
(
)
:
SparseMatrix
[]
Returns
SparseMatrix
[]
Globals
"ql/methods/finitedifferences/operators/fdmblackscholesop"
Fdm
Black
Scholes
Op
constructor
_direction
_dx
Map
_dxx
Map
_illegal
Local
Vol
Overwrite
_local
Vol
_mapT
_mesher
_qTS
_rTS
_strike
_volTS
_x
apply
apply_
direction
apply_
mixed
preconditioner
set
Time
size
solve_
splitting
to
Matrix
to
Matrix
Decomp