diff options
author | Ralf Gommers <ralf.gommers@googlemail.com> | 2012-05-05 21:16:13 +0200 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@googlemail.com> | 2012-07-07 14:48:49 +0200 |
commit | 2c9981b61ca56b41a5e7b9fbe785b6b54727aea4 (patch) | |
tree | 30f093eeef4682ef9eadddfe98e3c4ef5280a244 /numpy/core/numeric.py | |
parent | 3445712afcd71d2a3d61973de45aa94c38613dd5 (diff) | |
download | numpy-2c9981b61ca56b41a5e7b9fbe785b6b54727aea4.tar.gz |
DOC: merge wiki edits. Add percentile to statistics routines (ML suggestion).
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r-- | numpy/core/numeric.py | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index a104db19c..45b998b61 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -696,9 +696,10 @@ def correlate(a, v, mode='valid', old_behavior=False): Refer to the `convolve` docstring. Note that the default is `valid`, unlike `convolve`, which uses `full`. old_behavior : bool - If True, uses the old behavior from Numeric, (correlate(a,v) == correlate(v, - a), and the conjugate is not taken for complex arrays). If False, uses - the conventional signal processing definition (see note). + If True, uses the old behavior from Numeric, + (correlate(a,v) == correlate(v,a), and the conjugate is not taken + for complex arrays). If False, uses the conventional signal + processing definition. See Also -------- @@ -2344,7 +2345,14 @@ def setbufsize(size): return old def getbufsize(): - """Return the size of the buffer used in ufuncs. + """ + Return the size of the buffer used in ufuncs. + + Returns + ------- + getbufsize : int + Size of ufunc buffer in bytes. + """ return umath.geterrobj()[0] |