Skip to content

Instantly share code, notes, and snippets.

@iros
Created August 13, 2015 19:09
Show Gist options
  • Select an option

  • Save iros/20db2c1b8e509f53ec57 to your computer and use it in GitHub Desktop.

Select an option

Save iros/20db2c1b8e509f53ec57 to your computer and use it in GitHub Desktop.

Revisions

  1. iros created this gist Aug 13, 2015.
    11 changes: 11 additions & 0 deletions nantests.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    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