Xorshift128plus

Random number generator xorshift128+

Package Contents

initialState

Returns an initial state for the xorshift128+ algorithm

random

Returns a uniform random number with the xorshift128+ algorithm

Package Constants (1)

nState

Value: 4

Type: Integer

Description: The dimension of the internal state vector

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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.