Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | List of all members
mygsl::histogram::pdf Class Reference

PDF associated to a one dimensional histogram. More...

#include <bayeux/mygsl/histogram.h>

Public Member Functions

 pdf ()
 
 pdf (const histogram &h_)
 
virtual ~pdf ()
 
bool is_initialized () const
 
void initialize (const histogram &h_)
 
void init (const histogram &h_)
 
void reset ()
 
double sample (double r_)
 
void sample (double r_, double &x_)
 
template<class _ran_functor_type >
double sample (_ran_functor_type &ran_)
 

Detailed Description

PDF associated to a one dimensional histogram.

Constructor & Destructor Documentation

◆ pdf() [1/2]

mygsl::histogram::pdf::pdf ( )

◆ pdf() [2/2]

mygsl::histogram::pdf::pdf ( const histogram h_)

◆ ~pdf()

virtual mygsl::histogram::pdf::~pdf ( )
virtual

Member Function Documentation

◆ init()

void mygsl::histogram::pdf::init ( const histogram h_)

◆ initialize()

void mygsl::histogram::pdf::initialize ( const histogram h_)

◆ is_initialized()

bool mygsl::histogram::pdf::is_initialized ( ) const

◆ reset()

void mygsl::histogram::pdf::reset ( )

◆ sample() [1/3]

double mygsl::histogram::pdf::sample ( double  r_)

◆ sample() [2/3]

void mygsl::histogram::pdf::sample ( double  r_,
double &  x_ 
)

◆ sample() [3/3]

template<class _ran_functor_type >
double mygsl::histogram::pdf::sample ( _ran_functor_type &  ran_)
inline

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