Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandUint64 ¶
Generate a random uint64 by combining two random int64s
Types ¶
type MersenneTwister ¶
type MersenneTwister struct {
// contains filtered or unexported fields
}
func MersenneTwisterFromState ¶
func MersenneTwisterFromState(state [n]uint32) *MersenneTwister
func NewMersenneTwister ¶
func NewMersenneTwister(seed uint32) *MersenneTwister
func (*MersenneTwister) Next ¶
func (mt *MersenneTwister) Next() uint32
Click to show internal directories.
Click to hide internal directories.