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/experimental/barrieroption/vannavolgainterpolation"
detail
VannaVolgaInterpolationImpl
Class VannaVolgaInterpolationImpl
Hierarchy
templateImpl
VannaVolgaInterpolationImpl
Index
Constructors
constructor
Properties
_T
_atm
Vol
_d
Discount
_f
Discount
_fwd
_spot
_x
_x
Begin
_x
End
_y
_y
Begin
premiaBS
premiaMKT
vegas
Methods
derivative
is
InRange
locate
primitive
second
Derivative
ti
Init
update
value1
value2
vega
x
Max
x
Min
x
Values
y
Values
Constructors
constructor
new
Vanna
Volga
Interpolation
Impl
(
x
:
Real
[]
, xBegin
:
Size
, xEnd
:
Size
, y
:
Real
[]
, yBegin
:
Size
, spot
:
Real
, dDiscount
:
DiscountFactor
, fDiscount
:
DiscountFactor
, T
:
Time
)
:
VannaVolgaInterpolationImpl
Parameters
x:
Real
[]
xBegin:
Size
xEnd:
Size
y:
Real
[]
yBegin:
Size
spot:
Real
dDiscount:
DiscountFactor
fDiscount:
DiscountFactor
T:
Time
Returns
VannaVolgaInterpolationImpl
Properties
Private
_T
_T
:
Time
Private
_atm
Vol
_atm
Vol
:
Real
Private
_d
Discount
_d
Discount
:
DiscountFactor
Private
_f
Discount
_f
Discount
:
DiscountFactor
Private
_fwd
_fwd
:
Real
Private
_spot
_spot
:
Real
_x
_x
:
Real
[]
_x
Begin
_x
Begin
:
Size
_x
End
_x
End
:
Size
_y
_y
:
Real
[]
_y
Begin
_y
Begin
:
Size
Private
premiaBS
premiaBS
:
Real
[]
Private
premiaMKT
premiaMKT
:
Real
[]
Private
vegas
vegas
:
Real
[]
Methods
derivative
derivative
(
x
:
Real
)
:
Real
Parameters
x:
Real
Returns
Real
is
InRange
is
InRange
(
x
:
Real
)
:
boolean
Parameters
x:
Real
Returns
boolean
locate
locate
(
x
:
Real
)
:
Size
Parameters
x:
Real
Returns
Size
primitive
primitive
(
x
:
Real
)
:
Real
Parameters
x:
Real
Returns
Real
second
Derivative
second
Derivative
(
x
:
Real
)
:
Real
Parameters
x:
Real
Returns
Real
ti
Init
ti
Init
(
x
:
Real
[]
, xBegin
:
Size
, xEnd
:
Size
, y
:
Real
[]
, yBegin
:
Size
, requiredPoints
?:
Integer
)
:
templateImpl
Parameters
x:
Real
[]
xBegin:
Size
xEnd:
Size
y:
Real
[]
yBegin:
Size
Default value
requiredPoints:
Integer
= 2
Returns
templateImpl
update
update
(
)
:
void
Returns
void
value1
value1
(
k
:
Real
)
:
Real
Parameters
k:
Real
Returns
Real
value2
value2
(
y
:
Real
[]
, x
:
Real
)
:
Real
Parameters
y:
Real
[]
x:
Real
Returns
Real
Private
vega
vega
(
k
:
Real
)
:
Real
Parameters
k:
Real
Returns
Real
x
Max
x
Max
(
)
:
Real
Returns
Real
x
Min
x
Min
(
)
:
Real
Returns
Real
x
Values
x
Values
(
)
:
Real
[]
Returns
Real
[]
y
Values
y
Values
(
)
:
Real
[]
Returns
Real
[]
Globals
"ql/experimental/barrieroption/vannavolgainterpolation"
detail
Vanna
Volga
Interpolation
Impl
constructor
_T
_atm
Vol
_d
Discount
_f
Discount
_fwd
_spot
_x
_x
Begin
_x
End
_y
_y
Begin
premiaBS
premiaMKT
vegas
derivative
is
InRange
locate
primitive
second
Derivative
ti
Init
update
value1
value2
vega
x
Max
x
Min
x
Values
y
Values