diff options
author | Chris Jordan-Squire <cjordan1@uw.edu> | 2011-12-16 17:49:59 -0800 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2011-12-17 09:05:04 -0700 |
commit | 26195cfe921818d97776c83f4c84286ae79bf1de (patch) | |
tree | 1533bc7107de7dfceecc1390dbb52efea43639c1 /doc/release | |
parent | 67f24e8f2e12d9f5b8510ffd0769b13f18f5636a (diff) | |
download | numpy-26195cfe921818d97776c83f4c84286ae79bf1de.tar.gz |
FIX: Add release notes, use inverse cdf method for non-uniform
sampling with replacement, change searchsorted to use side='right',
and regenerate mtrand.c.
Diffstat (limited to 'doc/release')
-rw-r--r-- | doc/release/2.0.0-notes.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/release/2.0.0-notes.rst b/doc/release/2.0.0-notes.rst index daec1013f..d950181d2 100644 --- a/doc/release/2.0.0-notes.rst +++ b/doc/release/2.0.0-notes.rst @@ -87,7 +87,9 @@ to the original operand which was reduced. Custom formatter for printing arrays ------------------------------------ - +New function numpy.random.choice +--------------------------------- +A generic sampling function has been added which will generate samples from a given array-like. The samples can be with or without replacement, and with uniform or given non-uniform probabilities. Changes ======= |