commit | 3342574206edc65e335b4efb2ef7c3555b483510 | [log] [tgz] |
---|---|---|
author | Dave Bort <dbort@golang.org> | Thu Oct 15 11:46:37 2009 -0700 |
committer | Dave Bort <dbort@golang.org> | Thu Oct 15 11:46:37 2009 -0700 |
tree | bd32d4ade569ee47c51f17a12fe4f9b60ea63205 | |
parent | 18325313fb916bc697243edaccc5b1a90e2d9286 [diff] |
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