public histogramDD(bins as Long = 10l, density as Boolean = false, weights as NDArray<Double> = null, ignoreNaN as Boolean = false) as Tuple<NDArray<Double>, IList<NDArray<Double>>>
D-dimensional histogram of an [observations,coordinates] matrix (or 1D series). Coordinates are borrowed as strided columns, not materialized as tensors.
| Parameter | Description |
|---|---|
bins | Positive bin count used for every coordinate. |
density | Normalize the integral over bin volumes to one. |
weights | Optional 1D finite Double weight per observation. |
ignoreNaN | Skip an observation if any coordinate/weight is NaN. |
Count/density tensor and one independent edge tensor per coordinate.
counts, edges = points.histogramDD(bins=10l)