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

Method maximum

ot/backend.py:393–401  ·  view source on GitHub ↗

r""" Returns element-wise maximum of array elements. This function follows the api from :any:`numpy.maximum` See: https://numpy.org/doc/stable/reference/generated/numpy.maximum.html

(self, a, b)

Source from the content-addressed store, hash-verified

391 raise NotImplementedError()
392
393 def maximum(self, a, b):
394 r"""
395 Returns element-wise maximum of array elements.
396
397 This function follows the api from :any:`numpy.maximum`
398
399 See: https://numpy.org/doc/stable/reference/generated/numpy.maximum.html
400 """
401 raise NotImplementedError()
402
403 def minimum(self, a, b):
404 r"""

Callers 15

test_empty_backendFunction · 0.95
_LR_DysktraFunction · 0.45
proj_simplexFunction · 0.45
euclidean_distancesFunction · 0.45
bures_distanceFunction · 0.45
maximumMethod · 0.45
maximumMethod · 0.45
maximumMethod · 0.45
maximumMethod · 0.45
maximumMethod · 0.45

Calls

no outgoing calls

Tested by 2

test_empty_backendFunction · 0.76
test_func_backendsFunction · 0.36