Opens a new window with list of versions in this module.
Published: May 25, 2023
Opens a new window with license information.
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Gosl. rnd/sfmt. Light wrapper to the SFMT library
SFMT is the SIMD-oriented Fast Mersenne
Twister developed by Mutsuo Saito and Makoto
Matsumoto at the Hiroshima University.
Check out the SFMT original license file.
NOTE: This sub-subpackage is supposed to be used internally only.
Package sfmt wraps the SFMT SIMD-oriented Fast Mersenne Twister
Init initializes random numbers generator
seed -- seed value; use seed <= 0 to use current time
PrintIDString prints SFMT id string
Rand generates pseudo random integer between low and high
low -- lower limit
high -- upper limit
func Shuffle(values int)
Shuffle shuffles slice of integers
Click to show internal directories.
Click to hide internal directories.