BCESolve
BCEDistr Class Referenceabstract

Utility class for probability distributions. More...

#include <bcedistr.hpp>

Inheritance diagram for BCEDistr:

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.
 

Detailed Description

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.

Member Function Documentation

◆ CDF()

virtual double BCEDistr::CDF ( double  v0,
double  v1 
) const
pure virtual

The joint CDF of the distribution.

Implemented in BCEDistrArray, unimodal, additiveCorrelated, uniform, bernoulli, uniformWithMassPnt, uniformNoTie, vToTheAlpha, and truncated.

◆ PDF() [1/2]

double BCEDistr::PDF ( double  v0,
double  incr0,
double  v1,
double  incr1 
) const
inline

Discretized PDF for the BCEDistr.

Calculates the mass in the rectangle [v0-incr0,v0] x [v1-incr1,v1].

Examples
fpagame.hpp, and fpaunknown.hpp.

◆ PDF() [2/2]

double BCEDistr::PDF ( double  v0,
double  v1,
double  incr 
) const
inline

Discretized PDF for the BCEDistr.

Calculates the mass in the rectangle [v0-incr,v0] x [v1-incr,v1].


The documentation for this class was generated from the following file: