transsys :: utils :: UniformRNG :: Class UniformRNG
[hide private]
[frames] | no frames]

Class UniformRNG

source code

Callable class producing random floating point values from a uniform distribution.

Based on the standard random module.

Instance Methods [hide private]
float
__init__(self, rndseed, min_value=0.0, max_value=1.0)
Returns: a random value r from [min_value, max_value[
source code
 
__call__(self) source code
Method Details [hide private]

__init__(self, rndseed, min_value=0.0, max_value=1.0)
(Constructor)

source code 
Parameters:
  • rndseed - random seed
  • min_value - minimal value (inclusive)
  • max_value - maximal value (exclusive)
Returns: float
a random value r from [min_value, max_value[