On 8/8/07, mark <[EMAIL PROTECTED]> wrote:
> But what if I want to multiply every value between -5 and +5 by 100.
> This does NOT work:
>
> d[ d>-5 and d<5 ] *= 100

 d[(d>-5) & (d<5)] *= 100
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to