A one-dimensional probability density over a finite range. More...
#include <prob_dens_func.h>
Public Member Functions | |
virtual double | lower_limit () const =0 |
Lower limit of the range. | |
virtual double | upper_limit () const =0 |
Uower limit of the range. | |
![]() | |
virtual double | operator() () const |
Sample from the specified density. | |
virtual double | pdf (double x) const |
The normalized density. | |
virtual double | log_pdf (double x) const |
The log of the normalized density. | |
virtual double | cdf (double x) const |
The cumulative distribution function (from the lower tail) | |
virtual double | invert_cdf (double cdf) const |
The inverse cumulative distribution function. | |
virtual double | entropy () const |
Entropy of the distribution ( ![]() | |
This class is experimental.
Definition at line 268 of file prob_dens_func.h.
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).