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

INF H component. May relate to real rate portion of JY model or z component of DK model. More...

#include <qle/models/crossassetanalytics.hpp>

+ Collaboration diagram for Hy:

Public Member Functions

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

Public Attributes

QuantLib::Size i_
 

Detailed Description

INF H component. May relate to real rate portion of JY model or z component of DK model.

Definition at line 470 of file crossassetanalytics.hpp.

Constructor & Destructor Documentation

◆ Hy()

Hy ( QuantLib::Size  i)

Definition at line 471 of file crossassetanalytics.hpp.

Member Function Documentation

◆ eval()

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

Definition at line 473 of file crossassetanalytics.hpp.

473 {
475 return x.infdk(i_)->H(t);
477 return x.infjy(i_)->realRate()->H(t);
478 else
479 QL_FAIL("Expected inflation model to be JY or DK");
480 }
+ 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 482 of file crossassetanalytics.hpp.