#include <newran.h>
Inheritance diagram for Exponential:
Public Member Functions | |
char * | Name () |
Real | Density (Real) const |
ExtReal | Mean () const |
ExtReal | Variance () const |
Private Member Functions | |
void | operator= (const Exponential &) |
|
Reimplemented from Random. Definition at line 468 of file newran.cpp. References Real.
00469 { return (x > 40.0 || x < 0.0) ? 0.0 : exp(-x); }
|
|
Reimplemented from PosGen. Definition at line 182 of file newran.h.
00182 { return 1.0; }
|
|
Reimplemented from PosGen. Definition at line 914 of file newran.cpp.
00914 { return "Exponential"; } |
|
Definition at line 177 of file newran.h.
00177 {} // private so can't access
|
|
Reimplemented from PosGen. Definition at line 183 of file newran.h.
00183 { return 1.0; }
|