mendevi.utils.uniform

mendevi.utils.uniform(data: object) float[source]

Return a uniform floating-point number between [0 and 1[.

This can be very useful for reliably rejecting data based on a specified probability.