functionSampleFreeRNG
The interface for sample free random number generators
Extends from RNG (The basic interface for the random number generator).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Time | instance (from InputOutput) | The current time for an arithmetic random number generator | |
| Integer | states_in (from InputOutput) | The discrete states for a recursive random number generator |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | rand (from InputOutput) | The random number with a uniform distribution on the interval [1,0] | |
| Integer | states_out (from InputOutput) | The new states of a recursive random number generator |
Revisions
Developed 2014 at the DLR Institute of System Dynamics and Control