[Numpy-discussion] Bug in numpy.correlate documentation

Bernhard Spinnler Bernhard.Spinnler at gmx.net
Thu Oct 10 15:12:08 EDT 2013

It seems to me that Wolfram is following yet another path. From http://mathworld.wolfram.com/Autocorrelation.html and more importantly http://mathworld.wolfram.com/Cross-Correlation.html, equation (5):

z_mathworld[k] = sum_n conj(a[n]) * v[n+k] 
	= conj( sum_n a[n] * conj(v[n+k]) )
	= conj( z_numpyDocstring[k] )
	= conj( z_numpyCode[-k] )

is the conjugate of what the numpy docstring says. So, now we have at least three definitions to chose from :-)


On 09.10.2013, at 22:19, David Goldsmith <d.l.goldsmith at gmail.com> wrote:

> Looks like Wolfram MathWorld would favor the docstring, but the possibility of a "use-domain" dependency seems plausible (after all, a similar dilemma is observed, e.g., w/ the Fourier Transform)--I guess one discipline's future is another discipline's past. :-)
> http://mathworld.wolfram.com/Autocorrelation.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20131010/a02984a2/attachment.html>

More information about the NumPy-Discussion mailing list