Exponentially distributed random parameter generator implementation.
More...
Go to the source code of this file.
|
#define | MAX_REDRAWS 1000 |
| The maximum number of redraws performed before giving up.
|
|
Exponentially distributed random parameter generator implementation.
Definition in file param_generator_exponential_clipped.h.
◆ param_generator_exponential_clipped_params
struct param_generator_exponential_clipped_params |
◆ param_generator_exponential_clipped
struct param_generator_exponential_clipped |
◆ MAX_REDRAWS
◆ param_generator_exponential_clipped_initialize()
static void * param_generator_exponential_clipped_initialize |
( |
void ** |
region | ) |
|
|
static |
How to initialise the exponential RNG parameter generator.
- Parameters
-
[in,out] | region | Region to read setup from. Should be updated to position just after parameters after calling. |
- Returns
- A data item to be passed in to other functions later on
Definition at line 56 of file param_generator_exponential_clipped.h.
◆ param_generator_exponential_clipped_free()
static void param_generator_exponential_clipped_free |
( |
void * |
generator | ) |
|
|
static |
◆ param_generator_exponential_clipped_generate()
static accum param_generator_exponential_clipped_generate |
( |
void * |
generator | ) |
|
|
static |
How to generate values with the exponential RNG parameter generator.
- Parameters
-
[in] | generator | The generator to use to generate values |
- Returns
- The value generated
Definition at line 84 of file param_generator_exponential_clipped.h.