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

Function _makearray

numpy/linalg/linalg.py:135–138  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

133 return extobj
134
135def _makearray(a):
136 new = asarray(a)
137 wrap = getattr(a, "__array_prepare__", new.__array_wrap__)
138 return new, wrap
139
140def isComplexType(t):
141 return issubclass(t, complexfloating)

Callers 13

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