Delta_Around (class)

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

For example:

da = distl.delta_around()
da.sample(value=5)
da.value = 6
da.sample()
da(7).sample()