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

Function _raise_linalgerror_singular

numpy/linalg/_linalg.py:143–144  ·  view source on GitHub ↗
(err, flag)

Source from the content-addressed store, hash-verified

141
142
143def _raise_linalgerror_singular(err, flag):
144 raise LinAlgError("Singular matrix")
145
146def _raise_linalgerror_nonposdef(err, flag):
147 raise LinAlgError("Matrix is not positive definite")

Callers

nothing calls this directly

Calls 1

LinAlgErrorClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…