summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@googlemail.com>2012-07-07 16:07:39 +0200
committerRalf Gommers <ralf.gommers@googlemail.com>2012-07-07 16:38:37 +0200
commit436a28f4ea4d596c59e85745eac7446f7e18903f (patch)
tree2b4ad5911d86b5721705f5c03da427498d868849 /numpy/core/numeric.py
parent3b9a0fea12ae89fe6ce745d9af0beb3df17260b8 (diff)
parentffca0587e99f3b3ecce80fa8cfd28bdf17abbf31 (diff)
downloadnumpy-436a28f4ea4d596c59e85745eac7446f7e18903f.tar.gz
Merge branch 'merge-wiki-edits' into master.
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py16
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]