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

Function _ptp

numpy/core/_methods.py:218–223  ·  view source on GitHub ↗
(a, axis=None, out=None, keepdims=False)

Source from the content-addressed store, hash-verified

216 return ret
217
218def _ptp(a, axis=None, out=None, keepdims=False):
219 return um.subtract(
220 umr_maximum(a, axis, None, out, keepdims),
221 umr_minimum(a, axis, None, None, keepdims),
222 out
223 )
224
225def _dump(self, file, protocol=2):
226 if hasattr(file, 'write'):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected