BCESolve
|
Utility class for probability distributions. More...
#include <bcedistr.hpp>
Public Member Functions | |
virtual double | CDF (double v0, double v1) const =0 |
The joint CDF of the distribution. More... | |
double | PDF (double v0, double incr0, double v1, double incr1) const |
Discretized PDF for the BCEDistr. More... | |
double | PDF (double v0, double v1, double incr) const |
Discretized PDF for the BCEDistr. More... | |
virtual | ~BCEDistr () |
Virtual destructor. | |
Utility class for probability distributions.
This is a pure virtual base class for describing bivariate joint distributions. You can inherit from this class and reimplement the CDF method. The CDF method should return the joint CDF.
|
pure virtual |
The joint CDF of the distribution.
Implemented in BCEDistrArray, unimodal, additiveCorrelated, uniform, bernoulli, uniformWithMassPnt, uniformNoTie, vToTheAlpha, and truncated.
|
inline |
Discretized PDF for the BCEDistr.
Calculates the mass in the rectangle [v0-incr0,v0] x [v1-incr1,v1].
|
inline |
Discretized PDF for the BCEDistr.
Calculates the mass in the rectangle [v0-incr,v0] x [v1-incr,v1].