functionRNG_DIRCS
DIRCS Immediate Random with Continuous Seed
Extends from Noise.Utilities.Interfaces.SampleFreeRNG (The interface for sample free random number generators).
Information
This is the random number generator "DIRCS Immediate Random with Continuous Seed". It uses the time to seed a conventional sampled random number generator and does a number of discrete steps with this generator. The seeding function Seed and the random number generator RNG can be specified modularly.
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 | |
| Integer | k | 1 | The number of RNG iterations to apply to the seed |
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 |
Contents
| Name | Description |
|---|---|
Revisions
Developed 2014 at the DLR Institute of System Dynamics and Control