#include <newran.h>
Inheritance diagram for NegativeBinomial:


Public Member Functions | |
| char * | Name () |
| NegativeBinomial (Real NX, Real PX) | |
| Real | Density (Real) const |
| Real | Next () |
| ExtReal | Mean () const |
| ExtReal | Variance () const |
Private Attributes | |
| Real | N |
| Real | P |
| Real | Q |
| Real | p |
| Real | ln_q |
| Real | c |
|
||||||||||||
|
Definition at line 485 of file newran.cpp. References c, ln_gamma(), ln_q, AsymGen::mode, N, P, p, and Q.
|
|
|
Reimplemented from Random. Definition at line 495 of file newran.cpp. References c, ln_gamma(), ln_q, N, and Real.
|
|
|
Reimplemented from AsymGen. Definition at line 357 of file newran.h.
|
|
|
Reimplemented from AsymGen. Definition at line 917 of file newran.cpp.
00917 { return "NegativeBinomial"; }
|
|
|
Reimplemented from AsymGen. Definition at line 493 of file newran.cpp. References AsymGen::Next(), and Real.
00493 { return floor(AsymGen::Next()); }
|
|
|
Reimplemented from AsymGen. Definition at line 358 of file newran.h.
|
|
|
Definition at line 350 of file newran.h. Referenced by Density(), and NegativeBinomial(). |
|
|
Definition at line 350 of file newran.h. Referenced by Density(), and NegativeBinomial(). |
|
|
Definition at line 350 of file newran.h. Referenced by Density(), and NegativeBinomial(). |
|
|
Definition at line 350 of file newran.h. Referenced by NegativeBinomial(). |
|
|
Definition at line 350 of file newran.h. Referenced by NegativeBinomial(). |
|
|
Definition at line 350 of file newran.h. Referenced by NegativeBinomial(). |
1.3.3