summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorrgommers <ralf.gommers@googlemail.com>2010-06-02 13:07:10 +0000
committerrgommers <ralf.gommers@googlemail.com>2010-06-02 13:07:10 +0000
commit76e25d22ca216d8f30c74b8df79edd1d8ffdd242 (patch)
tree11e01eaa2f3a0962532d6b7728b7cbedb7fbc9da /numpy/core/numeric.py
parente7c87d78cb3a6a3cb24276a5cf3fdb3f4d0bc43c (diff)
downloadnumpy-76e25d22ca216d8f30c74b8df79edd1d8ffdd242.tar.gz
DOC: merge wiki edits for module core.
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index fba6512b2..eb028874a 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -35,10 +35,10 @@ if sys.version_info[0] < 3:
class ComplexWarning(RuntimeWarning):
"""
- Warning that is raised when casting complex numbers to real.
+ The warning raised when casting a complex dtype to a real dtype.
- Casting a complex number to real discards its imaginary part, and
- this behavior may not be what is intended in all cases.
+ As implemented, casting a complex number to a real discards its imaginary
+ part, but this behavior may not be what the user actually wants.
"""
pass
@@ -743,15 +743,15 @@ def convolve(a,v,mode='full'):
See Also
--------
- scipy.signal.fftconv : Convolve two arrays using the Fast Fourier
- Transform.
+ scipy.signal.fftconvolve : Convolve two arrays using the Fast Fourier
+ Transform.
scipy.linalg.toeplitz : Used to construct the convolution operator.
Notes
-----
The discrete convolution operation is defined as
- .. math:: (f * g)[n] = \\sum_{m = -\\infty}^{\\infty} f[m] f[n - m]
+ .. math:: (f * g)[n] = \\sum_{m = -\\infty}^{\\infty} f[m] g[n - m]
It can be shown that a convolution :math:`x(t) * y(t)` in time/space
is equivalent to the multiplication :math:`X(f) Y(f)` in the Fourier