From 0ae7a75c3836df538ab004f234bf5ed2519df62d Mon Sep 17 00:00:00 2001 From: Kilian Lieret Date: Sun, 24 Apr 2022 15:13:57 +0000 Subject: DOC: Simplify explanation/markup of correlate transformation --- numpy/core/numeric.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/core/numeric.py') diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index d76a8b46d..bb3cbf054 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -737,8 +737,8 @@ def correlate(a, v, mode='valid'): array([ 0.5-0.5j, 1.0+0.j , 1.5-1.5j, 3.0-1.j , 0.0+0.j ]) Note that you get the time reversed, complex conjugated result - when the two input sequences change places, i.e., - ``c_{va}[k] = c^{*}_{av}[-k]``: + (:math:`\overline{c_{-k}}`) when the two input sequences a and v change + places: >>> np.correlate([0, 1, 0.5j], [1+1j, 2, 3-1j], 'full') array([ 0.0+0.j , 3.0+1.j , 1.5+1.5j, 1.0+0.j , 0.5+0.5j]) -- cgit v1.2.1