Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float64 ¶
func Float64() float64
Float64 returns a uniformly distributed random number in the interval [0.0, 1.0).
func Intn ¶
Intn returns a uniformly distributed random number in the interval [0, n). n must be a positive int32.
func SampleWeighted ¶
SampleWeighted samples n items from items without replacement. Panics if n < 0 or n > len(items).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.