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

Method sort2

ot/backend.py:1447–1448  ·  view source on GitHub ↗
(self, a, axis=-1)

Source from the content-addressed store, hash-verified

1445 return np.prod(a, axis=axis)
1446
1447 def sort2(self, a, axis=-1):
1448 return self.sort(a, axis), self.argsort(a, axis)
1449
1450 def qr(self, a):
1451 np_version = tuple([int(k) for k in np.__version__.split(".")])

Callers

nothing calls this directly

Calls 2

sortMethod · 0.95
argsortMethod · 0.95

Tested by

no test coverage detected