packageXorshift64star

Random number generator xorshift64*

Extends from Modelica.Icons.Package (Icon for standard packages).

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). For an overview, comparison with other random number generators, and links to articles, see Math.Random.Generators.

Parameters

TypeNameDefaultDescription
IntegernState2The dimension of the internal state vector

Contents

NameDescription
initialStateReturns an initial state for the xorshift64* algorithm
randomReturns a uniform random number with the xorshift64* algorithm

Revisions

Date Description
June 22, 2015
DLR logo Initial version implemented by A. Klöckner, F. v.d. Linden, D. Zimmer, M. Otter.
DLR Institute of System Dynamics and Control