functionrandom
Return a random number with a uniform distribution in the range 0.0 < result <= 1.0
Extends from Modelica.Icons.Function (Icon for functions).
Information
This partial function defines the input and output arguments of a random(..) function of a random number generator package.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | stateIn | The internal states for the random number generator | |
| Integer | stateSize | The dimension of the internal state vector |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | result | A random number with a uniform distribution on the interval (0,1] | |
| Integer | stateOut | The new internal states of the random number generator |
Revisions
| Date | Description | ||
|---|---|---|---|
| June 22, 2015 |
|