Logo ROOT   6.13/01
Reference Guide
List of all members | Public Types | Static Public Member Functions | List of all members
DiscrDist Struct Reference

Free functions adapter needed by UNURAN for one-dimensional discrete distribution.

Definition at line 84 of file UnuranDistrAdapter.h.

Public Types

typedef TUnuranDiscrDist Distribution
 

Static Public Member Functions

static double Cdf (int x, const UNUR_DISTR *dist)
 evaluate the cumulative function More...
 
static double Pmf (int x, const UNUR_DISTR *dist)
 evaluate the probality mesh function More...
 

#include </home/ozapatam/Projects/root/math/unuran/src/UnuranDistrAdapter.h>

Member Typedef Documentation

◆ Distribution

Definition at line 86 of file UnuranDistrAdapter.h.

Member Function Documentation

◆ Cdf()

static double DiscrDist::Cdf ( int  x,
const UNUR_DISTR dist 
)
inlinestatic

evaluate the cumulative function

Definition at line 96 of file UnuranDistrAdapter.h.

◆ Pmf()

static double DiscrDist::Pmf ( int  x,
const UNUR_DISTR dist 
)
inlinestatic

evaluate the probality mesh function

Definition at line 90 of file UnuranDistrAdapter.h.


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