Contents

init(range:count:)

Creates the given number of bins for the range.

Declaration

nonisolated init(range: ClosedRange<Value>, count: Int) where Value : BinaryFloatingPoint

Parameters

  • 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.