diff options
author | Kilian Lieret <kilian.lieret@posteo.de> | 2022-04-24 15:13:57 +0000 |
---|---|---|
committer | Kilian Lieret <kilian.lieret@posteo.de> | 2022-04-24 15:43:08 +0000 |
commit | 0ae7a75c3836df538ab004f234bf5ed2519df62d (patch) | |
tree | 30b071b02b3f45923e2084ae819dd27d01fe1a3d /numpy/core/numeric.py | |
parent | f0c80eb43e1e87a80fe2918d753e43ddbf0f125a (diff) | |
download | numpy-0ae7a75c3836df538ab004f234bf5ed2519df62d.tar.gz |
DOC: Simplify explanation/markup of correlate transformation
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r-- | numpy/core/numeric.py | 4 |
1 files changed, 2 insertions, 2 deletions
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]) |