summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authormdubravski <41096057+mdubravski@users.noreply.github.com>2021-02-13 12:09:46 -0500
committerGitHub <noreply@github.com>2021-02-13 12:09:46 -0500
commitbfa80170b46ce19f03c535cb41bb1cc933e87b1d (patch)
treedb64b34b071b1468f74bb49d9dc0b57167e27cf4 /numpy/core/numeric.py
parentc0b129ef8eada11d10f01ddf4b7a85dc198b242e (diff)
downloadnumpy-bfa80170b46ce19f03c535cb41bb1cc933e87b1d.tar.gz
Update numpy/core/numeric.py
rewording to eliminate redundancy Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com>
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index 7f60cd916..28b4d78d5 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -721,8 +721,7 @@ def correlate(a, v, mode='valid'):
which is related to ``c_{av}[k]`` by ``c'_{av}[k] = c_{av}[-k]``.
- The convolution can often be calcualted much faster using ``scipy.signal.correlate``.
- ``numpy.correlate`` performs slowly because it does not use FFT; for large arrays (i.e. n = 1e5) ``scipy.signal.correlate`` might be considered.
+ `numpy.correlate` may perform slowly in large arrays (i.e. n = 1e5) because it does not use the FFT to compute the convolution; in that case, `scipy.signal.correlate` might be considered.
Examples