[Numpy-discussion] Problem with correlate?
Fri Aug 22 06:23:19 CDT 2008
I checked it with numpy version 1.1.1 just now and the result is the same:
>>> x = N.array([0.,0,1,0,0])
>>> y1 = N.array([1.,0,0,0,0])
>>> N.correlate(x,y1, mode='full')
array([ 0., 0., 0., 0., 0., 0., 1., 0., 0.])
>>> y2 = N.array([1.,0,0,0,0,0,0])
>>> N.correlate(x,y2, mode='full')
array([ 0., 0., 1., 0., 0., 0., 0., 0., 0., 0., 0.])
Stéfan van der Walt <email@example.com> said:
> Hi Hanno
> 2008/8/22 Hanno Klemm <firstname.lastname@example.org>:
> > yes, indeed, that's what I thought. This result is odd. Has correlate
> > been changed since version 1.0.4, or should I submit this as a bug?
> Is there any way that you could try out the latest release on your
> machine and see if it solves your problem? We probably won't be
> releasing bug-fixes on 1.0.4, but if it exists in 1.1 we'll still
> address it. I'm not aware of any changes, but I may simply have
> missed it.
> Numpy-discussion mailing list
More information about the Numpy-discussion