public peakToPeak(axis as Long, keepDims as Boolean = false, ignoreNaN as Boolean = false, where as Boolean[] = null, result as NDArray<Double> = null) as NDArray<Double>
Range (maximum minus minimum) along the selected axes, without materializing slices.
| Parameter | Description |
|---|---|
axis | Axis to reduce; negative indices count from the end. |
keepDims | Keep reduced dimensions with length one. |
result | Optional non-aliased, shape-compatible destination reused without allocation. |
ignoreNaN | Skip NaNs; otherwise propagate them. |
where | Optional flat Boolean mask, one entry per source element. |
Reduced Double tensor.
values = data.peakToPeak(axis=0)