dsp::CumulativeDistribution Class Reference

#include <CumulativeDistribution.h>

Inheritance diagram for dsp::CumulativeDistribution:
Reference::Able Reference::HeapTracked

Public Types

typedef double argument_type
 
typedef double return_type
 

Public Member Functions

 CumulativeDistribution (ProbabilityDensity *pdf=0)
 Construct with optional PDF.
 
void set_pdf (ProbabilityDensity *_pdf)
 Set the probability density function.
 
double operator() (double x)
 Return the probability density at x.
 
double cf (double x)
 Return cumulative function for x.
 
double log_cf (double x)
 
double dlog_cf (double x)
 
double ccf (double x)
 Return complementary cumulative function for.
 
double log_ccf (double x)
 
double dlog_ccf (double x)
 
- Public Member Functions inherited from Reference::Able
 Able (const Able &)
 
Ableoperator= (const Able &)
 
unsigned get_reference_count () const
 
- Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
 
HeapTrackedoperator= (const HeapTracked &)
 
bool __is_on_heap () const
 

Protected Attributes

Reference::To< ProbabilityDensity > pdf
 
Romberg< MidPoint > midpoint
 
Romberg normal
 

Additional Inherited Members

- Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
 
- Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
 
static void operator delete (void *location, void *ptr)
 
static void operator delete (void *location)
 
static size_t get_heap_queue_size ()
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Detailed Description

Used to compute the cumulative function (CF) and complementary CF (CCF) of a given PDF


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

Generated using doxygen 1.8.17