BCESolve
|
Truncated version of a distribution. More...
#include <bcedistr.hpp>
Public Member Functions | |
truncated (BCEDistr *_dist) | |
Constructor. More... | |
truncated (BCEDistr *_dist, double _min, double _max) | |
Constructor. More... | |
truncated (BCEDistr *_dist, double _min0, double _min1, double _max0, double _max1) | |
Constructor. More... | |
double | CDF (double v0, double v1) const |
Implements BCEDistr::CDF. 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. | |
Public Attributes | |
BCEDistr * | dist |
The distribution being truncated. | |
double | min0 |
Minimum 0 coordinate. | |
double | min1 |
Minimum 1 coordinate. | |
double | max0 |
Maximum 0 coordinate. | |
double | max1 |
Maximum 1 coordinate. | |
Truncated version of a distribution.
|
inline |
Constructor.
Truncates the given BCEDistr at _distr to the range .
|
inline |
Constructor.
Truncates the distribution at _dist to the range .
|
inline |
Constructor.
Truncates the distribution at _dist to the range .
|
inlinevirtual |
Implements BCEDistr::CDF.
Implements BCEDistr.