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

Function iscomplexfunction

numpy/f2py/auxfuncs.py:357–366  ·  view source on GitHub ↗
(rout)

Source from the content-addressed store, hash-verified

355
356
357def iscomplexfunction(rout):
358 if not isfunction(rout):
359 return 0
360 if 'result' in rout:
361 a = rout['result']
362 else:
363 a = rout['name']
364 if a in rout['vars']:
365 return iscomplex(rout['vars'][a])
366 return 0
367
368
369def iscomplexfunction_warn(rout):

Callers 2

cb_routsign2mapFunction · 0.85
iscomplexfunction_warnFunction · 0.85

Calls 2

isfunctionFunction · 0.70
iscomplexFunction · 0.70

Tested by

no test coverage detected