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

Method minimum

ot/backend.py:403–411  ·  view source on GitHub ↗

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

(self, a, b)

Source from the content-addressed store, hash-verified

401 raise NotImplementedError()
402
403 def minimum(self, a, b):
404 r"""
405 Returns element-wise minimum of array elements.
406
407 This function follows the api from :any:`numpy.minimum`
408
409 See: https://numpy.org/doc/stable/reference/generated/numpy.minimum.html
410 """
411 raise NotImplementedError()
412
413 def sign(self, a):
414 r"""Returns an element-wise indication of the sign of a number.

Callers 12

test_empty_backendFunction · 0.95
minimumMethod · 0.45
minimumMethod · 0.45
minimumMethod · 0.45
minimumMethod · 0.45
minimumMethod · 0.45
linear_circular_otFunction · 0.45
test_func_backendsFunction · 0.45
sp_to_adjacencyFunction · 0.45

Calls

no outgoing calls

Tested by 4

test_empty_backendFunction · 0.76
test_func_backendsFunction · 0.36