go/src/math/rand
Spencer Nelson f9e404c1c5 math/rand: make Rand fulfill the Reader interface
Add a Read function to Rand which reads random bytes into a buffer.

Fixes #8330

Change-Id: I85b90277b8be9287c6697def8dbefe0029b6ee06
Reviewed-on: https://go-review.googlesource.com/14522
Reviewed-by: Rob Pike <r@golang.org>
2015-09-16 17:54:01 +00:00
..
example_test.go
exp.go
normal.go
rand.go math/rand: make Rand fulfill the Reader interface 2015-09-16 17:54:01 +00:00
rand_test.go math/rand: make Rand fulfill the Reader interface 2015-09-16 17:54:01 +00:00
regress_test.go math/rand: make Rand fulfill the Reader interface 2015-09-16 17:54:01 +00:00
rng.go
zipf.go math/rand: improve NewZipf documentation 2015-07-03 21:39:04 +00:00