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

Distributionpair is a helper class for DiscretDistribution. More...

#include <qle/math/discretedistribution.hpp>

+ Collaboration diagram for Distributionpair:

Public Member Functions

 Distributionpair (Real x=0, Real y=0)
 

Public Attributes

Real x_
 
Real y_
 

Detailed Description

Distributionpair is a helper class for DiscretDistribution.

The Distributionpair holds a single point of a one-domensional discrete distribution, i.e. coordinate x and ordinate (density) y.

Definition at line 43 of file discretedistribution.hpp.

Constructor & Destructor Documentation

◆ Distributionpair()

Distributionpair ( Real  x = 0,
Real  y = 0 
)

Member Data Documentation

◆ x_

Real x_

Definition at line 46 of file discretedistribution.hpp.

◆ y_

Real y_

Definition at line 46 of file discretedistribution.hpp.