Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PythonOT/POT
/ inv
Method
inv
ot/backend.py:1406–1407 ·
view source on GitHub ↗
(self, a)
Source
from the content-addressed store, hash-verified
1404
return
np.einsum(
"...ii"
, a)
1405
1406
def
inv(self, a):
1407
return
scipy.linalg.inv(a)
1408
1409
def
pinv(self, a, hermitian=False):
1410
return
np.linalg.pinv(a, hermitian=hermitian)
Callers
nothing calls this directly
Calls
1
inv
Method · 0.45
Tested by
no test coverage detected