[Numpy-discussion] limit function

Neal Becker ndbecker2@gmail....
Thu Jan 15 08:27:04 CST 2009


Is there a function to apply a limit to an array?  I want to (efficiently) do:

y = x if x < limit, otherwise limit




More information about the Numpy-discussion mailing list