Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PythonOT/POT
/ inv
Method
inv
ot/backend.py:1834–1835 ·
view source on GitHub ↗
(self, a)
Source
from the content-addressed store, hash-verified
1832
return
jnp.diagonal(a, axis1=-2, axis2=-1).sum(-1)
1833
1834
def
inv(self, a):
1835
return
jnp.linalg.inv(a)
1836
1837
def
pinv(self, a, hermitian=False):
1838
return
jnp.linalg.pinv(a, hermitian=hermitian)
Callers
nothing calls this directly
Calls
1
inv
Method · 0.45
Tested by
no test coverage detected