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/vanilla/fdconditions"
FDAmericanCondition
Class FDAmericanCondition
Hierarchy
FDVanillaEngine
FDAmericanCondition
Index
Type aliases
bc_
type
Constructors
constructor
Properties
_BCs
_center
_exercise
Date
_finite
Difference
Operator
_grid
Points
_intrinsic
Values
_payoff
_process
_s
Max
_s
Min
_time
Dependent
_time
Steps
base
Engine
_safety
Zone
Factor
Methods
ensure
Strike
InGrid
get
Residual
Time
grid
init
initialize
Boundary
Conditions
initialize
Initial
Condition
initialize
Operator
initialize
Step
Condition
safe
Grid
Points
set
Grid
Limits1
set
Grid
Limits2
setup
Arguments
Type aliases
Static
bc_
type
bc_
type
:
BoundaryCondition
<
TridiagonalOperator
>
Constructors
constructor
new FDAmerican
Condition
(
baseEngine
:
any
)
:
FDAmericanCondition
Parameters
baseEngine:
any
Returns
FDAmericanCondition
Properties
_BCs
_BCs
:
bc_type
[]
_center
_center
:
Real
_exercise
Date
_exercise
Date
:
Date
_finite
Difference
Operator
_finite
Difference
Operator
:
TridiagonalOperator
_grid
Points
_grid
Points
:
Size
_intrinsic
Values
_intrinsic
Values
:
SampledCurve
_payoff
_payoff
:
Payoff
_process
_process
:
GeneralizedBlackScholesProcess
_s
Max
_s
Max
:
Real
_s
Min
_s
Min
:
Real
_time
Dependent
_time
Dependent
:
boolean
_time
Steps
_time
Steps
:
Size
base
Engine
base
Engine
:
any
Static
_safety
Zone
Factor
_safety
Zone
Factor
:
Real
= 1.1
Methods
ensure
Strike
InGrid
ensure
Strike
InGrid
(
)
:
void
Returns
void
get
Residual
Time
get
Residual
Time
(
)
:
Time
Returns
Time
grid
grid
(
)
:
Real
[]
Returns
Real
[]
init
init
(
process
:
GeneralizedBlackScholesProcess
, timeSteps
?:
Size
, gridPoints
?:
Size
, timeDependent
?:
boolean
)
:
FDAmericanCondition
Parameters
process:
GeneralizedBlackScholesProcess
Default value
timeSteps:
Size
= 100
Default value
gridPoints:
Size
= 100
Default value
timeDependent:
boolean
= false
Returns
FDAmericanCondition
initialize
Boundary
Conditions
initialize
Boundary
Conditions
(
)
:
void
Returns
void
initialize
Initial
Condition
initialize
Initial
Condition
(
)
:
void
Returns
void
initialize
Operator
initialize
Operator
(
)
:
void
Returns
void
initialize
Step
Condition
initialize
Step
Condition
(
)
:
void
Returns
void
safe
Grid
Points
safe
Grid
Points
(
gridPoints
:
Size
, residualTime
:
Time
)
:
Size
Parameters
gridPoints:
Size
residualTime:
Time
Returns
Size
set
Grid
Limits1
set
Grid
Limits1
(
)
:
void
Returns
void
set
Grid
Limits2
set
Grid
Limits2
(
center
:
Real
, t
:
Time
)
:
void
Parameters
center:
Real
t:
Time
Returns
void
setup
Arguments
setup
Arguments
(
args
:
Arguments
)
:
void
Parameters
args:
Arguments
Returns
void
Globals
"ql/pricingengines/vanilla/fdconditions"
FDAmerican
Condition
bc_
type
constructor
_BCs
_center
_exercise
Date
_finite
Difference
Operator
_grid
Points
_intrinsic
Values
_payoff
_process
_s
Max
_s
Min
_time
Dependent
_time
Steps
base
Engine
_safety
Zone
Factor
ensure
Strike
InGrid
get
Residual
Time
grid
init
initialize
Boundary
Conditions
initialize
Initial
Condition
initialize
Operator
initialize
Step
Condition
safe
Grid
Points
set
Grid
Limits1
set
Grid
Limits2
setup
Arguments
FDShout
Condition