init(range:count:)
Creates the given number of bins for the range. Expects that the range length is a multiple of count to allow uniform integer bins.
Declaration
nonisolated init(range: ClosedRange<Value>, count: Int) where Value : BinaryIntegerParameters
- range:
The range of the bins. The first bin starts at the lower bound of the range, and the last bin ends at the upper bound of the range.
- count:
The exact number of bins.