From bfa80170b46ce19f03c535cb41bb1cc933e87b1d Mon Sep 17 00:00:00 2001 From: mdubravski <41096057+mdubravski@users.noreply.github.com> Date: Sat, 13 Feb 2021 12:09:46 -0500 Subject: Update numpy/core/numeric.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rewording to eliminate redundancy Co-authored-by: Melissa Weber Mendonça --- numpy/core/numeric.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'numpy/core/numeric.py') 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 -- cgit v1.2.1