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/basket/mcamericanbasketengine"
AmericanBasketPathPricer
Class AmericanBasketPathPricer
Hierarchy
EarlyExercisePathPricer
<
MultiPath
>
AmericanBasketPathPricer
Implements
BinaryFunction
<
MultiPath
,
Size
,
Real
>
Index
Constructors
constructor
Properties
_asset
Number
_payoff
_scaling
Value
_v
Methods
basis
System
f
payoff
state
Constructors
constructor
new
American
Basket
Path
Pricer
(
assetNumber
:
Size
, payoff
:
Payoff
, polynomOrder
?:
Size
, polynomType
?:
PolynomType
)
:
AmericanBasketPathPricer
Parameters
assetNumber:
Size
payoff:
Payoff
Default value
polynomOrder:
Size
= 2
Default value
polynomType:
PolynomType
= LsmBasisSystem.PolynomType.Monomial
Returns
AmericanBasketPathPricer
Properties
Protected
_asset
Number
_asset
Number
:
Size
Protected
_payoff
_payoff
:
Payoff
Protected
_scaling
Value
_scaling
Value
:
Real
Protected
_v
_v
:
Array
<
UnaryFunction
<
Real
[]
,
Real
>
>
Methods
basis
System
basis
System
(
)
:
Array
<
UnaryFunction
<
Real
[]
,
Real
>
>
Returns
Array
<
UnaryFunction
<
Real
[]
,
Real
>
>
f
f
(
path
:
MultiPath
, t
:
Size
)
:
Real
Parameters
path:
MultiPath
t:
Size
Returns
Real
Protected
payoff
payoff
(
state
:
Real
[]
)
:
Real
Parameters
state:
Real
[]
Returns
Real
state
state
(
path
:
MultiPath
, t
:
Size
)
:
Real
[]
Parameters
path:
MultiPath
t:
Size
Returns
Real
[]
Globals
"ql/pricingengines/basket/mcamericanbasketengine"
American
Basket
Path
Pricer
constructor
_asset
Number
_payoff
_scaling
Value
_v
basis
System
f
payoff
state
MCAmerican
Basket
Engine
MakeMCAmerican
Basket
Engine