Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PythonOT/POT
/ sort2
Method
sort2
ot/backend.py:2858–2859 ·
view source on GitHub ↗
(self, a, axis=-1)
Source
from the content-addressed store, hash-verified
2856
return
cp.prod(a, axis=axis)
2857
2858
def
sort2(self, a, axis=-1):
2859
return
self.sort(a, axis), self.argsort(a, axis)
2860
2861
def
qr(self, a):
2862
return
cp.linalg.qr(a)
Callers
nothing calls this directly
Calls
2
sort
Method · 0.95
argsort
Method · 0.95
Tested by
no test coverage detected