Logo
Reference manual - version qle_version
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>

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.