diff options
author | Mark Dickinson <mdickinson@enthought.com> | 2013-10-15 20:39:12 +0100 |
---|---|---|
committer | Mark Dickinson <mdickinson@enthought.com> | 2013-10-15 20:39:12 +0100 |
commit | 9217077ed5134ce869b41334b3b14d2f1a52e2af (patch) | |
tree | 14964d86591e3d6b435c5184367b7ed9bef6dd87 /numpy | |
parent | 61c8568e8ae2fe0afbb7a96b72902573ac4e22e7 (diff) | |
download | numpy-9217077ed5134ce869b41334b3b14d2f1a52e2af.tar.gz |
DOC: Fix misleading description of random_sample in numpy.random docstring.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/random/info.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/random/info.py b/numpy/random/info.py index 970522a95..396e62381 100644 --- a/numpy/random/info.py +++ b/numpy/random/info.py @@ -6,10 +6,10 @@ Random Number Generation ==================== ========================================================= Utility functions ============================================================================== -random Uniformly distributed values of a given shape. +random_sample Uniformly distributed floats over ``[0, 1)``. +random Alias for `random_sample`. bytes Uniformly distributed random bytes. random_integers Uniformly distributed integers in a given range. -random_sample Uniformly distributed floats in a given range. permutation Randomly permute a sequence / generate a random sequence. shuffle Randomly permute a sequence in place. seed Seed the random number generator. |