1
0
mirror of https://github.com/golang/go synced 2024-10-03 14:31:22 -06:00
go/src/pkg/rand
Dave Bort 3342574206 Define the new Rand and Source types to allow creating
isolated sources of random values.

Add normal and exponential distributions.

Add some tests for the normal and exponential distributions.

R=rsc
APPROVED=rsc
DELTA=1005  (904 added, 80 deleted, 21 changed)
OCL=35501
CL=35779
2009-10-15 11:46:37 -07:00
..
exp.go Define the new Rand and Source types to allow creating 2009-10-15 11:46:37 -07:00
Makefile Define the new Rand and Source types to allow creating 2009-10-15 11:46:37 -07:00
normal.go Define the new Rand and Source types to allow creating 2009-10-15 11:46:37 -07:00
rand_test.go Define the new Rand and Source types to allow creating 2009-10-15 11:46:37 -07:00
rand.go Define the new Rand and Source types to allow creating 2009-10-15 11:46:37 -07:00
rng.go Define the new Rand and Source types to allow creating 2009-10-15 11:46:37 -07:00