constant#

class constant(v=0.0, **kwargs)[source]#

Bases: Dist

Constant (delta) distribution: equivalent to np.full()

Parameters:

v (float) – the value to return

Attributes

bitgen

state

Get the current state

state_int

Get the integer corresponding to the current state

Methods