MCPcopy Create free account
hub / github.com/PythonOT/POT / pinv

Method pinv

ot/backend.py:1409–1410  ·  view source on GitHub ↗
(self, a, hermitian=False)

Source from the content-addressed store, hash-verified

1407 return scipy.linalg.inv(a)
1408
1409 def pinv(self, a, hermitian=False):
1410 return np.linalg.pinv(a, hermitian=hermitian)
1411
1412 def sqrtm(self, a):
1413 L, V = np.linalg.eigh(a)

Callers

nothing calls this directly

Calls 1

pinvMethod · 0.45

Tested by

no test coverage detected