Created
August 13, 2015 19:09
-
-
Save iros/20db2c1b8e509f53ec57 to your computer and use it in GitHub Desktop.
Python nan tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
isnan 1 if nan element-by-element | |
isinf 1 if inf element-by-element | |
isfinite 1 if not inf and not nan element-by-element | |
isposfin,isnegfin 1 for positive or negative inf element-by-element | |
isreal 1 if not complex valued element-by-element | |
iscomplex 1 if complex valued element-by-element | |
isreal 1 if real valued element-by-element | |
is_string_like 1 if argument is a string scalar | |
is_numlike 1 if is a numeric type scalar | |
isscalar 1 if scalar scalar | |
isvector 1 if input is a vector scalar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment