
packageXorshift128plus
Random number generator xorshift128+
Extends from Modelica.Icons.Package (Icon for standard packages).
Information
Random number generator xorshift128+. This generator has a period of 2^128
(the period defines the number of random numbers generated before the sequence begins to repeat itself).
For an overview, comparison with
other random number generators, and links to articles, see
Math.Random.Generators.
Parameters
| Type | Name | Default | Description |
| Integer | nState | 4 | The dimension of the internal state vector |
Contents
| Name | Description |
initialState | Returns an initial state for the xorshift128+ algorithm |
random | Returns a uniform random number with the xorshift128+ algorithm |
Revisions
| Date | Description |
| June 22, 2015 |
|