Re: [Numpy-discussion] Operations on a masked array of a scalar

2010-06-29 Thread Pierre GM
On Jun 29, 2010, at 1:41 PM, Martin Janousek wrote: > Hi, > > I have a Python code working on MaskedArray which can produce arrays > of a number of different shapes and ranks. In an extreme case I get > "an array" constructed from a scalar: > > x=numpy.ma.array(333.,mask=False) > > Until the r

[Numpy-discussion] Operations on a masked array of a scalar

2010-06-29 Thread Martin Janousek
Hi, I have a Python code working on MaskedArray which can produce arrays of a number of different shapes and ranks. In an extreme case I get "an array" constructed from a scalar: x=numpy.ma.array(333.,mask=False) Until the recent upgrade to Numpy 1.4.1 it has been possible to do operations on su