Uniform_Around (class)

Create a Uniform distribution which will always be centered to the face-value of the parameter. Some methods of the underlying Uniform distribution are available, but must either have Uniform_Around.value set or passed as a keyword-argument. Calling the object with a value will also return the underlying "frozen" Uniform distribution (see Uniform_Around.to_uniform).

For example:

ua = distl.uniform_around(width=2)
ua.sample(value=5)
ua.value = 6
ua.sample()
ua(7).sample()