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_ |
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.