Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
 
static double Pmf (int x, const UNUR_DISTR *dist)
 evaluate the probality mesh function
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/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: