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

Method power

ot/backend.py:1214–1215  ·  view source on GitHub ↗
(self, a, exponents)

Source from the content-addressed store, hash-verified

1212 return np.sqrt(a)
1213
1214 def power(self, a, exponents):
1215 return np.power(a, exponents)
1216
1217 def norm(self, a, axis=None, keepdims=False):
1218 return np.linalg.norm(a, axis=axis, keepdims=keepdims)

Callers

nothing calls this directly

Calls 1

powerMethod · 0.45

Tested by

no test coverage detected