package
0.0.0-20130121074735-1d03baafba06
Repository: https://github.com/icattlecoder/go.git
Documentation: pkg.go.dev
# Functions
ExpFloat64 returns an exponentially distributed float64 in the range (0, +math.MaxFloat64] with an exponential distribution whose rate parameter (lambda) is 1 and whose mean is 1/lambda (1).
Float32 returns, as a float32, a pseudo-random number in [0.0,1.0).
Float64 returns, as a float64, a pseudo-random number in [0.0,1.0).
Int returns a non-negative pseudo-random int.
Int31 returns a non-negative pseudo-random 31-bit integer as an int32.
Int31n returns, as an int32, a non-negative pseudo-random number in [0,n).
Int63 returns a non-negative pseudo-random 63-bit integer as an int64.
Int63n returns, as an int64, a non-negative pseudo-random number in [0,n).
Intn returns, as an int, a non-negative pseudo-random number in [0,n).
New returns a new Rand that uses random values from src to generate other random values.
NewSource returns a new pseudo-random Source seeded with the given value.
NewZipf returns a Zipf generating variates p(k) on [0, imax] proportional to (v+k)**(-s) where s>1 and k>=0, and v>=1.
NormFloat64 returns a normally distributed float64 in the range [-math.MaxFloat64, +math.MaxFloat64] with standard normal distribution (mean = 0, stddev = 1).
Perm returns, as a slice of n ints, a pseudo-random permutation of the integers [0,n).
Seed uses the provided seed value to initialize the generator to a deterministic state.
Uint32 returns a pseudo-random 32-bit value as a uint32.
# Interfaces
A Source represents a source of uniformly-distributed pseudo-random int64 values in the range [0, 1<<63).