diff options
author | mdubravski <41096057+mdubravski@users.noreply.github.com> | 2021-02-13 12:09:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-13 12:09:46 -0500 |
commit | bfa80170b46ce19f03c535cb41bb1cc933e87b1d (patch) | |
tree | db64b34b071b1468f74bb49d9dc0b57167e27cf4 /numpy/core/numeric.py | |
parent | c0b129ef8eada11d10f01ddf4b7a85dc198b242e (diff) | |
download | numpy-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.py | 3 |
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 |