public histogramBinEdges(bins as Long = 10l, bounds as Tuple<Double, Double> = null, ignoreNaN as Boolean = false) as NDArray<Double>
Computes only uniform histogram boundaries, without allocating/counting bins. O(N + bins) time, O(bins) memory; the source is flattened without a copy.
| Parameter | Description |
|---|---|
bins | Positive number of intervals. |
bounds | Optional finite (minimum,maximum), with positive width. |
ignoreNaN | Ignore NaN observations; otherwise raise ValueException. |
Independent 1D Double tensor with bins+1 boundaries.
edges = data.histogramBinEdges(bins=20l)