functioninitialState

Return the initial internal states for the uniform random number generator

Extends from Modelica.Icons.Function (Icon for functions).

Information

This partial function defines the input and output arguments of an initialState(..) function of a random number generator package.

Inputs

TypeNameDefaultDescription
IntegerlocalSeedThe local seed to be used for generating initial states
IntegerglobalSeedThe global seed to be combined with the local seed
IntegerstateSizeThe dimension of the internal state vector

Outputs

TypeNameDefaultDescription
IntegerstateThe generated initial states

Revisions

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