public struct UniformIntegerDistribution<T> : RandomDistribution where T : FixedWidthInteger
  • Declaration

    public let lowerBound: T
  • Declaration

    public let upperBound: T
  • Declaration

    public init(lowerBound: T = T.self.min, upperBound: T = T.self.max)
  • Declaration

    public func next<G>(using rng: inout G) -> T where G : RandomNumberGenerator