diff options
author | Brigitta Sipocz <b.sipocz@gmail.com> | 2015-08-12 20:23:36 +0100 |
---|---|---|
committer | Brigitta Sipocz <b.sipocz@gmail.com> | 2015-08-12 20:23:36 +0100 |
commit | 5ebae3697b055c90a484bd39400c4de1c54964ad (patch) | |
tree | 3346fcac43fc49c3b93dc3d8dc9e09a53c6bf033 /numpy/core/numeric.py | |
parent | 791a719109cbbd9c23048f9fb8b0ff91d4dc122c (diff) | |
download | numpy-5ebae3697b055c90a484bd39400c4de1c54964ad.tar.gz |
Changing invalid links to strings
The string options of the mode parameter are incorrectly resolved as links, rather than showed as strings.
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r-- | numpy/core/numeric.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index efd8af45d..323fcd5a8 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -836,7 +836,7 @@ def correlate(a, v, mode='valid', old_behavior=False): Input sequences. mode : {'valid', 'same', 'full'}, optional Refer to the `convolve` docstring. Note that the default - is `valid`, unlike `convolve`, which uses `full`. + is 'valid', unlike `convolve`, which uses 'full'. old_behavior : bool If True, uses the old behavior from Numeric, (correlate(a,v) == correlate(v,a), and the conjugate is not taken @@ -924,11 +924,11 @@ def convolve(a,v,mode='full'): completely, and boundary effects may be seen. 'same': - Mode `same` returns output of length ``max(M, N)``. Boundary + Mode 'same' returns output of length ``max(M, N)``. Boundary effects are still visible. 'valid': - Mode `valid` returns output of length + Mode 'valid' returns output of length ``max(M, N) - min(M, N) + 1``. The convolution product is only given for points where the signals overlap completely. Values outside the signal boundary have no effect. |