bundles / numpy 2.4.4 / numpy / lib / _histograms_impl / _ptp
function
numpy.lib._histograms_impl:_ptp
Signature
def _ptp ( x ) Summary
Peak-to-peak value of x.
Extended Summary
This implementation avoids the problem of signed integer arrays having a peak-to-peak value that cannot be represented with the array's data type. This function returns an unsigned value for signed integer arrays.
Aliases
-
numpy.lib._histograms_impl._ptp