MCPcopy Index your code
hub / github.com/numpy/numpy / iscomplex

Function iscomplex

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

Source from the content-addressed store, hash-verified

114
115
116def iscomplex(var):
117 return isscalar(var) and \
118 var.get('typespec') in ['complex', 'double complex']
119
120
121def 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…