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/models/marketmodels/evolvers/volprocesses/squarerootandersen"
SquareRootAndersen
Class SquareRootAndersen
Hierarchy
MarketModelVolProcess
SquareRootAndersen
Index
Constructors
constructor
Properties
_
PsiC
_current
Step
_dt
_e
Minusk
Dt
_epsilon
_k
_number
Sub
Steps
_state
_sub
Step
_theta
_v
_v0
_v
Path
_w1
_w2
Methods
Do
One
Sub
Step
next
Path
nextstep
number
State
Variables
number
Steps
state
Variables
step
Sd
variates
Per
Step
Constructors
constructor
new
Square
Root
Andersen
(
meanLevel
:
Real
, reversionSpeed
:
Real
, volVar
:
Real
, v0
:
Real
, evolutionTimes
:
Real
[]
, numberSubSteps
:
Size
, w1
:
Real
, w2
:
Real
, cutPoint
?:
Real
)
:
SquareRootAndersen
Parameters
meanLevel:
Real
reversionSpeed:
Real
volVar:
Real
v0:
Real
evolutionTimes:
Real
[]
numberSubSteps:
Size
w1:
Real
w2:
Real
Default value
cutPoint:
Real
= 1.5
Returns
SquareRootAndersen
Properties
Private
_
PsiC
_
PsiC
:
Real
Private
_current
Step
_current
Step
:
Size
Private
_dt
_dt
:
Real
[]
Private
_e
Minusk
Dt
_e
Minusk
Dt
:
Real
[]
Private
_epsilon
_epsilon
:
Real
Private
_k
_k
:
Real
Private
_number
Sub
Steps
_number
Sub
Steps
:
Size
Private
_state
_state
:
Real
[]
Private
_sub
Step
_sub
Step
:
Size
Private
_theta
_theta
:
Real
Private
_v
_v
:
Real
Private
_v0
_v0
:
Real
Private
_v
Path
_v
Path
:
Real
[]
Private
_w1
_w1
:
Real
Private
_w2
_w2
:
Real
Methods
Private
Do
One
Sub
Step
Do
One
Sub
Step
(
byref
:
byRef
, z
:
Real
, j
:
Size
)
:
void
Parameters
byref:
byRef
z:
Real
j:
Size
Returns
void
next
Path
next
Path
(
)
:
void
Returns
void
nextstep
nextstep
(
variates
:
Real
[]
)
:
Real
Parameters
variates:
Real
[]
Returns
Real
number
State
Variables
number
State
Variables
(
)
:
Size
Returns
Size
number
Steps
number
Steps
(
)
:
Size
Returns
Size
state
Variables
state
Variables
(
)
:
Real
[]
Returns
Real
[]
step
Sd
step
Sd
(
)
:
Real
Returns
Real
variates
Per
Step
variates
Per
Step
(
)
:
Size
Returns
Size
Globals
"ql/models/marketmodels/evolvers/volprocesses/squarerootandersen"
Square
Root
Andersen
constructor
_
PsiC
_current
Step
_dt
_e
Minusk
Dt
_epsilon
_k
_number
Sub
Steps
_state
_sub
Step
_theta
_v
_v0
_v
Path
_w1
_w2
Do
One
Sub
Step
next
Path
nextstep
number
State
Variables
number
Steps
state
Variables
step
Sd
variates
Per
Step
by
Ref