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/instruments/basketoption"
AverageBasketPayoff
Class AverageBasketPayoff
Hierarchy
BasketPayoff
AverageBasketPayoff
Implements
UnaryFunction
<
Real
,
Real
>
Index
Properties
_weights
Methods
abp
Init1
abp
Init2
accept
accumulate
base
Payoff
description
f
f1
init
name
Properties
Private
_weights
_weights
:
Real
[]
Methods
abp
Init1
abp
Init1
(
p
:
Payoff
, a
:
Real
[]
)
:
AverageBasketPayoff
Parameters
p:
Payoff
a:
Real
[]
Returns
AverageBasketPayoff
abp
Init2
abp
Init2
(
p
:
Payoff
, n
:
Size
)
:
AverageBasketPayoff
Parameters
p:
Payoff
n:
Size
Returns
AverageBasketPayoff
accept
accept
(
v
:
AcyclicVisitor
)
:
void
Parameters
v:
AcyclicVisitor
Returns
void
accumulate
accumulate
(
a
:
Real
[]
)
:
Real
Parameters
a:
Real
[]
Returns
Real
base
Payoff
base
Payoff
(
)
:
Payoff
Returns
Payoff
description
description
(
)
:
string
Returns
string
f
f
(
price
:
Real
)
:
Real
Parameters
price:
Real
Returns
Real
f1
f1
(
a
:
Real
[]
)
:
Real
Parameters
a:
Real
[]
Returns
Real
init
init
(
p
:
Payoff
)
:
BasketPayoff
Parameters
p:
Payoff
Returns
BasketPayoff
name
name
(
)
:
string
Returns
string
Globals
"ql/instruments/basketoption"
Average
Basket
Payoff
_weights
abp
Init1
abp
Init2
accept
accumulate
base
Payoff
description
f
f1
init
name
Basket
Option
Basket
Payoff
Max
Basket
Payoff
Min
Basket
Payoff
Spread
Basket
Payoff