Re: [Numpy-discussion] pre-initialized arrays

2008-01-04 Thread Stuart Brorson
>> I realize NumPy != Matlab, but I'd wager that most users >> would think that this is the natural behavior. > > I would not find it "natural" that elements of my float > array could be assigned complex values. OK, then NumPy should throw an exception if you try to make the assignemnt. I tried

Re: [Numpy-discussion] pre-initialized arrays

2008-01-04 Thread Alan G Isaac
On Fri, 4 Jan 2008, Stuart Brorson apparently wrote: > I realize NumPy != Matlab, but I'd wager that most users > would think that this is the natural behavior. I would not find it "natural" that elements of my float array could be assigned complex values. How could it be a fixed chunk of memor