Skip to main content
4 events
when toggle format what by license comment
Jan 30, 2019 at 13:49 comment added Mehdi not sure but if I remember well np.count_nonzero is much faster than sum
Jul 6, 2014 at 20:21 vote accept kindall
Jul 4, 2014 at 18:21 comment added kindall Nice! It probably won't be any problem using Numpy, either.
Jul 4, 2014 at 12:17 history answered Gareth Rees CC BY-SA 3.0