Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
vy Struct Reference

JY INF index variance component. More...

#include <qle/models/crossassetanalytics.hpp>

+ Collaboration diagram for vy:

Public Member Functions

 vy (QuantLib::Size i)
 
QuantLib::Real eval (const CrossAssetModel &x, const QuantLib::Real t) const
 

Public Attributes

QuantLib::Size i_
 

Detailed Description

JY INF index variance component.

Definition at line 532 of file crossassetanalytics.hpp.

Constructor & Destructor Documentation

◆ vy()

vy ( QuantLib::Size  i)

Definition at line 533 of file crossassetanalytics.hpp.

Member Function Documentation

◆ eval()

QuantLib::Real eval ( const CrossAssetModel x,
const QuantLib::Real  t 
) const

Definition at line 535 of file crossassetanalytics.hpp.

535 {
537 return x.infjy(i_)->index()->variance(t);
538 else
539 QL_FAIL("Inflation index variance only valid for JY model.");
540 }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ i_

QuantLib::Size i_

Definition at line 542 of file crossassetanalytics.hpp.