The OpenD Programming Language

binCounts

Bins data into nbin equal width bins, indexed from 0 to nbin - 1, with 0 being the smallest bin, etc. The values returned are the counts for each bin.

Works with any forward range with elements implicitly convertible to double.

Ret[]
binCounts
(
Ret = uint
T
)
(,
uint nbin
,
Ret[] buf = null
)

Meta