public histogram(notnull edges as NDArray<Double>, density as Boolean = false, weights as NDArray<Double> = null, ignoreNaN as Boolean = false) as Tuple<NDArray<Double>, NDArray<Double>>
Histogram with explicitly supplied finite ascending boundaries; source unchanged.
| Parameter | Description |
|---|---|
edges | At least two strictly increasing 1D boundaries. |
density | Normalize by included weight and bin width. |
weights | Optional finite Double weights, same shape as source. |
ignoreNaN | Skip NaN observations/weights; otherwise raise. |
Double counts/densities and an independent edge copy.
counts, edges = data.histogram(NDArray<Double>([0.0, 1.0, 4.0]))