package
0.0.0-20190322182713-bf6f0a60fce1
Repository: https://github.com/llvm-mirror/llgo.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) from the default Source.
Float32 returns, as a float32, a pseudo-random number in [0.0,1.0) from the default Source.
Float64 returns, as a float64, a pseudo-random number in [0.0,1.0) from the default Source.
Int returns a non-negative pseudo-random int from the default Source.
Int31 returns a non-negative pseudo-random 31-bit integer as an int32 from the default Source.
Int31n returns, as an int32, a non-negative pseudo-random number in [0,n) from the default Source.
Int63 returns a non-negative pseudo-random 63-bit integer as an int64 from the default Source.
Int63n returns, as an int64, a non-negative pseudo-random number in [0,n) from the default Source.
Intn returns, as an int, a non-negative pseudo-random number in [0,n) from the default Source.
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 variate generator.
NormFloat64 returns a normally distributed float64 in the range [-math.MaxFloat64, +math.MaxFloat64] with standard normal distribution (mean = 0, stddev = 1) from the default Source.
Perm returns, as a slice of n ints, a pseudo-random permutation of the integers [0,n) from the default Source.
Seed uses the provided seed value to initialize the default Source to a deterministic state.
Uint32 returns a pseudo-random 32-bit value as a uint32 from the default Source.
# Interfaces
A Source represents a source of uniformly-distributed pseudo-random int64 values in the range [0, 1<<63).