Life is so simple. Thanks Keith, Mark On Aug 8, 12:53 pm, "Keith Goodman" <[EMAIL PROTECTED]> wrote: > 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]://projects.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
