functionSeed_Real
Uses the real value for seeding
Extends from Utilities.Interfaces.Seed (The basic interface for a seeding function).
Information
This function converts the Real value to Integer values and fills the state vector with them.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | local_seed (from Seed) | 12345 | The local seed to be used for generating initial RNG states |
| Integer | global_seed (from Seed) | 67890 | The global seed to be combined with the local seed |
| Real | real_seed (from Seed) | 1.234 | A Real value to use as a seed for continuous seeding |
| Integer | n (from Seed) | 33 | The number of initial state values to be generated |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer[n] | states (from Seed) | The generated initial states |
Revisions
Developed 2014 at the DLR Institute of System Dynamics and Control