uniform#

class uniform(low=None, high=None, **kwargs)[source]#

Bases: Dist

Uniform distribution, values on interval (low, high)

Parameters:
  • low (float) – the lower bound of the distribution (default 0.0)

  • high (float) – the upper bound of the distribution (default 1.0)

Attributes

bitgen

state

Get the current state

state_int

Get the integer corresponding to the current state

Methods

make_rvs()[source]#

Specified here because uniform() doesn’t take a dtype argument