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