All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
o2scl::prob_dens_positive Class Reference

A one-dimensional probability density over the positive real numbers. More...

Detailed Description

This class is experimental.

Definition at line 407 of file prob_dens_func.h.

#include <prob_dens_func.h>

Inheritance diagram for o2scl::prob_dens_positive:
o2scl::prob_dens_func o2scl::prob_dens_lognormal

Additional Inherited Members

- Public Member Functions inherited from o2scl::prob_dens_func
virtual double sample () const =0
 Sample from the specified density.
 
virtual double operator() (double x) const =0
 The normalized density.
 
virtual double cdf (double x) const =0
 The cumulative distribution function (from the lower tail)
 
virtual double invert_cdf (double cdf) const =0
 The inverse cumulative distribution function.
 
virtual double entropy () const =0
 Entropy of the distribution ( $ - \int f \ln f $ )
 

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

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).
Hosted at Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads..