#include <Distrfunc.hh>
Inheritance diagram for RazorBack::Distrfunc_:


Public Methods | |
| Distrfunc_ (unsigned int N=0) | |
| default ctor: init to hold N parameters. | |
| virtual | ~Distrfunc_ () |
| double | param (unsigned int N) const |
| param(N): returns the value of the N-th parameter. | |
| double | param (unsigned int N, double X) |
| param(N, X): set the N-th parameter to X, returns old value. More... | |
Private Attributes | |
| vector<double> | Parameters |
| parameters as STL vector. | |
Derive your PDF from this base class (see examples below) so that you overload the pdf() and/or cdf() calls appropriately.
Definition at line 43 of file Distrfunc.hh.
|
|
default ctor: init to hold N parameters.
Definition at line 52 of file Distrfunc.hh. |
|
|
Definition at line 54 of file Distrfunc.hh. |
|
|
param(N): returns the value of the N-th parameter.
Referenced by RazorBack::Gaussian_::Gaussian_(), RazorBack::Uniform_::low(), RazorBack::Gaussian_::mu(), RazorBack::Gaussian_::sigma(), and RazorBack::Uniform_::up(). |
|
|
param(N, X): set the N-th parameter to X, returns old value. Throws Indexrangexc_ if N is out of range. |
|
|
parameters as STL vector.
Definition at line 46 of file Distrfunc.hh. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001