Hi! This is what I got: >>> import numarray as na >>> na.__version__ '1.4.0' >>>bbb=na.zeros((2,3,3), naFloat32) >>>bbb[0,:,:]=1 >>>bbb[1,:,:]=2 >>>ccc=na.transpose(bbb,(1,0,2)) >>>d=na.array([[1,0],[0,1]]) >>>na.dot(d,ccc) [[[ 1. 1. 1.] [ 1. 1. 1.] [ 1. 1. 1.]]
[[ 2. 2. 2.] [ 2. 2. 2.] [ 2. 2. 2.]]] This is on a PC (Windows or Linux): But if you do the same thing on Mac, the result will be: [[[ 1. 1. 1.] [ 2. 2. 2.] [ 1. 1. 1.]] [[ 2. 2. 2.] [ 1. 1. 1.] [ 2. 2. 2.]]] Can someone confirm this ? (the new numpy on windows also gives the first result) Thanks, Sebastian Haase ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion