AnyLogic
Expand
Font size

uniform_pos

The positive uniform distribution generates a positive random value uniformly distributed on the interval (0,1).

uniform_pos()

Description
Generates a positive random value uniformly distributed on the interval (0,1).
Result
Type Description
double The generated sample.

uniform_pos(java.util.Random r)

Description
Generates a positive random value uniformly distributed on the interval (0,1) using the specified random number generator.
Parameters
Name Type Description
r java.util.Random The random number generator.
Result
Type Description
double The generated sample.
How can we improve this article?