[NumPy-Tickets] [NumPy] #1995: DOC: numpy.correlate() docstring is wrong

NumPy Trac numpy-tickets@scipy....
Tue Dec 13 16:12:54 CST 2011

#1995: DOC: numpy.correlate() docstring is wrong
 Reporter:  O.C.        |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  Unscheduled
Component:  numpy.core  |     Version:  1.5.1      
 Keywords:              |  
 The docstring of numpy.correlate() indicates:
 z[k] = sum_n a[n] * conj(v[n+k])

 This is wrong. According to my tests, the real behavior is in fact:
 z[k] = sum_n a[n] * conj(v[n-k])
 or equivalently:
 z[k] = sum_n a[k+n] * conj(v[n])

Ticket URL: <http://projects.scipy.org/numpy/ticket/1995>
NumPy <http://projects.scipy.org/numpy>
My example project

More information about the NumPy-Tickets mailing list