#include <newran.h>
Inheritance diagram for Constant:
Public Member Functions | |
char * | Name () |
Constant (Real v) | |
Real | Next () |
ExtReal | Mean () const |
ExtReal | Variance () const |
Private Member Functions | |
void | operator= (const Constant &) |
Private Attributes | |
Real | value |
|
Definition at line 87 of file newran.h.
00087 { value=v; } // set value |
|
Reimplemented from Random. Definition at line 89 of file newran.h.
00089 { return value; } |
|
Reimplemented from Random. Definition at line 904 of file newran.cpp.
00904 { return "Constant"; } |
|
Reimplemented from Random. Definition at line 88 of file newran.h. References Real.
00088 { return value; } |
|
Definition at line 82 of file newran.h.
00082 {} // private so can't access
|
|
Reimplemented from Random. Definition at line 90 of file newran.h.
00090 { return 0.0; }
|
|
|