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

Method inv

ot/backend.py:2817–2818  ·  view source on GitHub ↗
(self, a)

Source from the content-addressed store, hash-verified

2815 return cp.trace(a, axis1=-2, axis2=-1)
2816
2817 def inv(self, a):
2818 return cp.linalg.inv(a)
2819
2820 def pinv(self, a, hermitian=False):
2821 return cp.linalg.pinv(a)

Callers

nothing calls this directly

Calls 1

invMethod · 0.45

Tested by

no test coverage detected