Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
P5_< E1, E2, E3, E4, E5 > Struct Template Reference

#include <qle/models/crossassetanalyticsbase.hpp>

+ Collaboration diagram for P5_< E1, E2, E3, E4, E5 >:

Public Member Functions

 P5_ (const E1 &e1, const E2 &e2, const E3 &e3, const E4 &e4, const E5 &e5)
 
Real eval (const CrossAssetModel &x, const Real t) const
 

Public Attributes

const E1 & e1_
 
const E2 & e2_
 
const E3 & e3_
 
const E4 & e4_
 
const E5 & e5_
 

Detailed Description

template<typename E1, typename E2, typename E3, typename E4, typename E5>
struct QuantExt::CrossAssetAnalytics::P5_< E1, E2, E3, E4, E5 >

product expression, 5 factors

Definition at line 83 of file crossassetanalyticsbase.hpp.

Constructor & Destructor Documentation

◆ P5_()

P5_ ( const E1 &  e1,
const E2 &  e2,
const E3 &  e3,
const E4 &  e4,
const E5 &  e5 
)

Member Function Documentation

◆ eval()

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

Definition at line 86 of file crossassetanalyticsbase.hpp.

86 {
87 return e1_.eval(x, t) * e2_.eval(x, t) * e3_.eval(x, t) * e4_.eval(x, t) * e5_.eval(x, t);
88 }

Member Data Documentation

◆ e1_

const E1& e1_

Definition at line 89 of file crossassetanalyticsbase.hpp.

◆ e2_

const E2& e2_

Definition at line 90 of file crossassetanalyticsbase.hpp.

◆ e3_

const E3& e3_

Definition at line 91 of file crossassetanalyticsbase.hpp.

◆ e4_

const E4& e4_

Definition at line 92 of file crossassetanalyticsbase.hpp.

◆ e5_

const E5& e5_

Definition at line 93 of file crossassetanalyticsbase.hpp.