[Numpy-discussion] Setting small numbers to zero.

gerardob gberbeglia at gmail.com
Wed Mar 17 11:51:54 EDT 2010

How can i modified all the values of a numpy array whose value is smaller
than a given epsilon to zero?

a = [[0.003,2][23,0.0001]] 


View this message in context: http://old.nabble.com/Setting-small-numbers-to-zero.-tp27933569p27933569.html
Sent from the Numpy-discussion mailing list archive at Nabble.com.

More information about the NumPy-Discussion mailing list