Re: [Numpy-discussion] inconsistent mgrid results

2007-03-04 Thread Lars Friedrich
Hello Andrew, Hello all, like Andrew, I had some strange experience with mgrid. Adrew writes: Am Dienstag, den 27.02.2007, 19:43 -0600 schrieb Andrew Corrigan: > I'm confused about the following: > > >>> print mgrid[2.45:2.6:0.05, 0:5:1] > [[[ 2.45 2.45 2.45 2.45 2.45] > [ 2.5 2.5 2.5

[Numpy-discussion] inconsistent mgrid results

2007-02-27 Thread Andrew Corrigan
I'm confused about the following: >>> print mgrid[2.45:2.6:0.05, 0:5:1] [[[ 2.45 2.45 2.45 2.45 2.45] [ 2.5 2.5 2.5 2.5 2.5 ]] [[ 0.1.2.3.4. ] [ 0.1.2.3.4. ]]] >>> print mgrid[2.45:2.6:0.05] [ 2.45 2.5 2.55] In the first case in the first dime