Documentation
¶
Overview ¶
Package unif provides functions to simplify generation of random values.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoundedInt ¶
BoundedInt generates a uniformly random integer in [-a,a].
func IntInInterval ¶
IntInInterval generates a uniformly random integer in [a,b]. If a>b, the function panics
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.