diff options
author | Joonas Paalasmaa <joonas.paalasmaa@gmail.com> | 2012-01-08 12:48:55 +0200 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2012-01-21 11:26:54 -0700 |
commit | d389db548062fafd202c25b94d3d3e276d6b9727 (patch) | |
tree | 7d934f924e94efcd5ceab19e5460c41eae6d1129 /numpy/random/mtrand | |
parent | d36e076f0559157745c8cc0186a8484081e55a1d (diff) | |
download | numpy-d389db548062fafd202c25b94d3d3e276d6b9727.tar.gz |
Fixed RandomState docstrings.
Diffstat (limited to 'numpy/random/mtrand')
-rw-r--r-- | numpy/random/mtrand/mtrand.pyx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/random/mtrand/mtrand.pyx b/numpy/random/mtrand/mtrand.pyx index 1b48f6c95..e6dd388b2 100644 --- a/numpy/random/mtrand/mtrand.pyx +++ b/numpy/random/mtrand/mtrand.pyx @@ -1188,7 +1188,7 @@ cdef class RandomState: def randn(self, *args): """ - randn([d1, ..., dn]) + randn(d0, d1, ..., dn) Return a sample (or samples) from the "standard normal" distribution. @@ -1205,13 +1205,13 @@ cdef class RandomState: Parameters ---------- - d1, ..., dn : `n` ints, optional + d0, d1, ..., dn : `n` ints, optional The dimensions of the returned array, should be all positive. Returns ------- Z : ndarray or float - A ``(d1, ..., dn)``-shaped array of floating-point samples from + A ``(d0, d1, ..., dn)``-shaped array of floating-point samples from the standard normal distribution, or a single such float if no parameters were supplied. |