Documentation
¶
Overview ¶
Package histutil 提供按 edges 参数化的直方图槽定位与分位数插值。 各领域包(durhist/ttfthist/tpshist)持有自己的 Edges,逻辑在此一处实现。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EstimatePercentile ¶
EstimatePercentile 在合并直方图上求近似分位(p ∈ (0,1))。counts 长度须 = len(edges)+1。
func MergeCounts ¶
MergeCounts merges histogram rows slot by slot. Rows may be empty or have different widths; the result preserves every provided slot without panic.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.