BCESolve
|
Unimodal distribution. More...
#include <bcedistr.hpp>
Public Member Functions | |
unimodal (double _c0, double _m0, int _k0, double _c1, double _m1, int _k1) | |
unimodal (double _c, double _m, int _k) | |
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 | m0 |
double | c0 |
double | d0 |
double | e0 |
int | k0 |
double | m1 |
double | c1 |
double | d1 |
double | e1 |
int | k1 |
Unimodal distribution.
Independent draws from distributions that have a single mode. CDF for each element is of the form , so that PDF is .
|
inlinevirtual |
The joint CDF of the distribution.
Implements BCEDistr.