MCPcopy Create free account
hub / github.com/numpy/numpy / iscomplex

Function iscomplex

numpy/f2py/auxfuncs.py:119–121  ·  view source on GitHub ↗
(var)

Source from the content-addressed store, hash-verified

117
118
119def iscomplex(var):
120 return isscalar(var) and \
121 var.get('typespec') in ['complex', 'double complex']
122
123
124def islogical(var):

Callers 5

getinitFunction · 0.70
sign2mapFunction · 0.70
islong_complexFunction · 0.70
iscomplexfunctionFunction · 0.70
get_parametersFunction · 0.70

Calls 2

isscalarFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected