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/curvestates/cmswapcurvestate"
CMSwapCurveState
Class CMSwapCurveState
Curve state for constant-maturity-swap market models
Hierarchy
CurveState
CMSwapCurveState
Index
Constructors
constructor
Properties
_cm
Swap
Annuities
_cm
Swap
Rates
_cot
Annuities
_cot
Swap
Rates
_disc
Ratios
_first
_forward
Rates
_irrCMSwap
Annuities
_irrCMSwap
Rates
_number
OfRates
_rate
Taus
_rate
Times
_spanning
Fwds
Methods
clone
cm
Swap
Annuity
cm
Swap
Rate
cm
Swap
Rates
coterminal
Swap
Annuity
coterminal
Swap
Rate
coterminal
Swap
Rates
discount
Ratio
forward
Rate
forward
Rates
number
OfRates
rate
Taus
rate
Times
set
OnCMSwap
Rates
swap
Rate
Constructors
constructor
new CMSwap
Curve
State
(
rateTimes
:
Time
[]
, spanningForwards
:
Size
)
:
CMSwapCurveState
Parameters
rateTimes:
Time
[]
spanningForwards:
Size
Returns
CMSwapCurveState
Properties
Private
_cm
Swap
Annuities
_cm
Swap
Annuities
:
Real
[]
Private
_cm
Swap
Rates
_cm
Swap
Rates
:
Rate
[]
Private
_cot
Annuities
_cot
Annuities
:
Real
[]
Private
_cot
Swap
Rates
_cot
Swap
Rates
:
Rate
[]
Private
_disc
Ratios
_disc
Ratios
:
DiscountFactor
[]
Private
_first
_first
:
Size
Private
_forward
Rates
_forward
Rates
:
Rate
[]
Private
_irrCMSwap
Annuities
_irrCMSwap
Annuities
:
Real
[]
Private
_irrCMSwap
Rates
_irrCMSwap
Rates
:
Rate
[]
Protected
_number
OfRates
_number
OfRates
:
Size
Protected
_rate
Taus
_rate
Taus
:
Time
[]
Protected
_rate
Times
_rate
Times
:
Time
[]
Private
_spanning
Fwds
_spanning
Fwds
:
Size
Methods
clone
clone
(
)
:
CurveState
Returns
CurveState
cm
Swap
Annuity
cm
Swap
Annuity
(
numeraire
:
Size
, i
:
Size
, spanningForwards
:
Size
)
:
Rate
Parameters
numeraire:
Size
i:
Size
spanningForwards:
Size
Returns
Rate
cm
Swap
Rate
cm
Swap
Rate
(
i
:
Size
, spanningForwards
:
Size
)
:
Rate
Parameters
i:
Size
spanningForwards:
Size
Returns
Rate
cm
Swap
Rates
cm
Swap
Rates
(
spanningForwards
:
Size
)
:
Rate
[]
Parameters
spanningForwards:
Size
Returns
Rate
[]
coterminal
Swap
Annuity
coterminal
Swap
Annuity
(
numeraire
:
Size
, i
:
Size
)
:
Rate
Parameters
numeraire:
Size
i:
Size
Returns
Rate
coterminal
Swap
Rate
coterminal
Swap
Rate
(
i
:
Size
)
:
Rate
Parameters
i:
Size
Returns
Rate
coterminal
Swap
Rates
coterminal
Swap
Rates
(
)
:
Rate
[]
Returns
Rate
[]
discount
Ratio
discount
Ratio
(
i
:
Size
, j
:
Size
)
:
Real
Parameters
i:
Size
j:
Size
Returns
Real
forward
Rate
forward
Rate
(
i
:
Size
)
:
Rate
Parameters
i:
Size
Returns
Rate
forward
Rates
forward
Rates
(
)
:
Rate
[]
Returns
Rate
[]
number
OfRates
number
OfRates
(
)
:
Size
Returns
Size
rate
Taus
rate
Taus
(
)
:
Time
[]
Returns
Time
[]
rate
Times
rate
Times
(
)
:
Time
[]
Returns
Time
[]
set
OnCMSwap
Rates
set
OnCMSwap
Rates
(
rates
:
Rate
[]
, firstValidIndex
?:
Size
)
:
void
Parameters
rates:
Rate
[]
Default value
firstValidIndex:
Size
= 0
Returns
void
swap
Rate
swap
Rate
(
begin
:
Size
, end
:
Size
)
:
Rate
Parameters
begin:
Size
end:
Size
Returns
Rate
Globals
"ql/models/marketmodels/curvestates/cmswapcurvestate"
CMSwap
Curve
State
constructor
_cm
Swap
Annuities
_cm
Swap
Rates
_cot
Annuities
_cot
Swap
Rates
_disc
Ratios
_first
_forward
Rates
_irrCMSwap
Annuities
_irrCMSwap
Rates
_number
OfRates
_rate
Taus
_rate
Times
_spanning
Fwds
clone
cm
Swap
Annuity
cm
Swap
Rate
cm
Swap
Rates
coterminal
Swap
Annuity
coterminal
Swap
Rate
coterminal
Swap
Rates
discount
Ratio
forward
Rate
forward
Rates
number
OfRates
rate
Taus
rate
Times
set
OnCMSwap
Rates
swap
Rate
Curve state for constant-maturity-swap market models