MCPcopy Create free account
hub / github.com/numpy/numpy / V

Method V

numpy/lib/tests/test_function_base.py:3570–3572  ·  view source on GitHub ↗
(self, x, y, alpha)

Source from the content-addressed store, hash-verified

3568 # most of this is already tested by TestPercentile
3569
3570 def V(self, x, y, alpha):
3571 # Identification function used in several tests.
3572 return (x >= y) - alpha
3573
3574 def test_max_ulp(self):
3575 x = [0.0, 0.2, 0.4]

Calls

no outgoing calls

Tested by

no test coverage detected