[Numpy-discussion] defmatrix.py

Charles R Harris charlesr.harris@gmail....
Mon Mar 26 14:30:29 CDT 2007


On 3/26/07, Nils Wagner <nwagner@iam.uni-stuttgart.de> wrote:
>
> Charles R Harris wrote:
> >
> >
> > On 3/25/07, *Nils Wagner* <nwagner@iam.uni-stuttgart.de
> > <mailto:nwagner@iam.uni-stuttgart.de>> wrote:
> >
> >     Hi,
> >
> >

 <snip>

Ok, things should be working now. In order to get rid of the scipy problems
I just needed to rm the scipy package in site-packages and then reinstall.

I still need to figure out a real fix down in the dot routine because

In [1]: dot(mat(eye(2)),ones(2))
Out[1]: matrix([[ 1.,  1.]])

Which is incorrect. But as long as you use * for matrices I think things are
working correctly, or at least correctly by numpy convention.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20070326/289b23d7/attachment.html 


More information about the Numpy-discussion mailing list