Re: [Numpy-discussion] Behavior of rint?

2018-01-19 Thread Mads Ipsen
I am confused . Shouldn't rint round to nearest integer. http://en.cppreference.com/w/cpp/numeric/math/rint Regards Mads On Jan 19, 2018 15:50, "Matthew Brett" wrote: > Hi Chuck, > > Thanks for the replies, they are very helpful. > > On Fri, Jan 19, 2018 at 1:51 PM, Charles R Harris > wrote: >

Re: [Numpy-discussion] bitwise or'ing rows

2017-04-04 Thread Mads Ipsen
Thanks! On 04/04/2017 09:49 AM, Jaime Fernández del Río wrote: On Tue, Apr 4, 2017 at 9:14 AM, Mads Ipsen mailto:mads.ip...@gmail.com>> wrote: Hi If I have an n x m array of bools, is there a handy way for me to perform a 'bitwise_and' or 'bitwise_or'

[Numpy-discussion] bitwise or'ing rows

2017-04-04 Thread Mads Ipsen
e_or(axis=0) giving [1,0,1,0] Best regards, Mads -- +-----+ | Mads Ipsen | +--+--+ | Overgaden Oven Vande