This partial function defines the input and output arguments of a random(..) function of a random number generator package.
partial function random extends Modelica.Icons.Function; input Integer[stateSize] stateIn "The internal states for the random number generator"; input Integer stateSize "The dimension of the internal state vector"; output Real result "A random number with a uniform distribution on the interval (0,1]"; output Integer[stateSize] stateOut "The new internal states of the random number generator"; end random;
Date | Description | ||
---|---|---|---|
June 22, 2015 |
|