Documentation ¶
Overview ¶
rand2 is a collection of functions meant to supplement the capabilities provided by the standard "math/rand" package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PickN ¶
func PickN(population []interface{}, n int) ( picked []interface{}, remaining []interface{}, err error)
Same as 'Sample' except it returns both the 'picked' sample set and the 'remaining' elements.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.