MCPcopy
hub / github.com/numpy/numpy / _makearray

Function _makearray

numpy/linalg/_linalg.py:163–166  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

161
162
163def _makearray(a):
164 new = asarray(a)
165 wrap = getattr(a, "__array_wrap__", new.__array_wrap__)
166 return new, wrap
167
168def isComplexType(t):
169 return issubclass(t, complexfloating)

Callers 12

tensorsolveFunction · 0.85
solveFunction · 0.85
invFunction · 0.85
choleskyFunction · 0.85
qrFunction · 0.85
eigvalsFunction · 0.85
eigvalshFunction · 0.85
eigFunction · 0.85
eighFunction · 0.85
svdFunction · 0.85
pinvFunction · 0.85
lstsqFunction · 0.85

Calls 1

asarrayFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…