#include "stringparser.h"
#include "vgen.h"
Include dependency graph for valuegen.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Compounds | |
| class | ValueGenerator |
| class | ValueGenerator_Correlate |
| class | ValueGenerator_Expression |
| class | ValueGenerator_Increment |
| class | ValueGenerator_Random |
| class | ValueGeneratorFactory |
| class | VGenFactory |
Typedefs | |
| typedef double (* | randomgen_fnPtr )( double mean, double radius ) |
| General type for a random number generator. More... | |
| typedef ValueGenerator<double> | DGen |
| Short name for typical usage. More... | |
Functions | |
| double | uniform_distribution ( double mean=0.5, double radius=0.5) |
| Returns a random number from a uniform distribution with a given radius (that is, range/2) and mean. More... | |
| double | normal_distribution ( double mean=0.0, double radius=1.0) |
| Returns a random number from the Gaussian distribution with the given sigma and mean. More... | |
Definition in file valuegen.h.
|
|
Short name for typical usage.
Definition at line 150 of file valuegen.h. |
|
|
General type for a random number generator.
Definition at line 28 of file valuegen.h. |
|
|
Returns a random number from the Gaussian distribution with the given sigma and mean. Uses the Box-Muller method from Numerical Recipes in C (Ch 7). Definition at line 45 of file valuegen.h. |
|
|
Returns a random number from a uniform distribution with a given radius (that is, range/2) and mean. The radius is inclusive on the lower side and exclusive on the upper. Definition at line 35 of file valuegen.h. |
1.2.1 written by Dimitri van Heesch,
© 1997-2000