BCESolve
bernoulli Class Reference

Bernoulli distribution. More...

#include <bcedistr.hpp>

Inheritance diagram for bernoulli:
Collaboration diagram for bernoulli:

Public Member Functions

 bernoulli (double _lowProb)
 
double CDF (double v0, double v1) const
 The joint CDF of the distribution. More...
 
- Public Member Functions inherited from BCEDistr
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.
 

Private Attributes

double lowProb
 

Detailed Description

Bernoulli distribution.

Member Function Documentation

◆ CDF()

double bernoulli::CDF ( double  v0,
double  v1 
) const
inlinevirtual

The joint CDF of the distribution.

Implements BCEDistr.


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