Documentation ¶
Overview ¶
Package rand provides various utitilies related to generating cryptographically secure random numbers and byte vectors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Reader is a replacement for crypto/rand.Reader. Reader io.Reader )
Functions ¶
func Exp ¶
Exp returns a random sample from the exponential distribution characterized by lambda (inverse of the mean).
func ExpQuantile ¶
ExpQuantile returns the value at which the the probability of a random value is less than or equal to the given probability for an exponential distribution characterized by lambda.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.