def isnan(a): """y = isnan(x) returns True where x is
> Not-A-Number""" return reshape(array([_isnan(i) for i in
> ravel(a)],'b'), shape(a))
OK, thanks. I committed that.
JDH
def isnan(a): """y = isnan(x) returns True where x is
> Not-A-Number""" return reshape(array([_isnan(i) for i in
> ravel(a)],'b'), shape(a))
OK, thanks. I committed that.
JDH
John Hunter wrote:
"Darren" == Darren Dale <dd55@...143...> writes:
> def isnan(a): """y = isnan(x) returns True where x is
> Not-A-Number""" return reshape(array([_isnan(i) for i in
> ravel(a)],'b'), shape(a))OK, thanks. I committed that.
I'm pretty sure numarray.ieeespecial has defined an isnan() function for
quite some time (certainly by numarray 1.3). I thought Darren's isnan()
function wouldn't be necessary except for Numeric.