均一整数分布

@frozen
public struct UniformIntegerDistribution<T> : RandomDistribution where T : FixedWidthInteger
  • 宣言

    public let lowerBound: T
  • 宣言

    public let upperBound: T
  • 宣言

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

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