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