Thu Feb 12 20:45:00 CST 2009
isfinite(x) is faster than -isnan(x), and it also gets INFs, so
definitely the way to go.
On Feb 12, 2009, at 9:38 PM, Bruce Southey wrote:
> Thanks to the Doc Marathon!
> Perhaps numpy.isfinite() is what you want:
> It is even linked from numpy.isnan() page
> On Thu, Feb 12, 2009 at 5:47 PM, Robert Kern
> <firstname.lastname@example.org> wrote:
>> On Thu, Feb 12, 2009 at 17:06, R. Padraic Springuel
>> <R.Springuel@umit.maine.edu> wrote:
>>> Is there a isnotnan function somewhere in the numpy or scipy
>>> library that
>>> functions similarly to isnan (except that the results are reversed)?
>> Robert Kern
>> "I have come to believe that the whole world is an enigma, a harmless
>> enigma that is made terrible by our own mad attempt to interpret
>> it as
>> though it had an underlying truth."
>> -- Umberto Eco
>> SciPy-user mailing list
> SciPy-user mailing list
More information about the SciPy-user