packageQuickXorshift64star
Random number generator xorshift64* with quicker initialization
Extends from Utilities.Interfaces.PartialGenerator (Interfaces of a uniform random number generator).
Information
Random number generator xorshift64*. This generator has a period of 2^64 (the period defines the number of random numbers generated before the sequence begins to repeat itself). In contrast to the version in Modelica, this version of the generator uses a single iteration to generate a new random number.
For an overview, comparison with other random number generators, and links to articles, see Math.Random.Generators.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nState (from PartialGenerator) | The dimension of the internal state vector |
Contents
| Name | Description |
|---|---|
| Returns an initial state for the xorshift64* algorithm | |
| Returns a uniform random number with the xorshift64* algorithm |
Revisions
| Date | Description | ||
|---|---|---|---|
| June 22, 2015 |
|