Function uniform

  • uniform(state: RngState, min: number, max: number): number
  • Generate uniformly distributed random numbers with given min and max.

    Parameters

    • state: RngState

      Random number state

    • min: number

      Minimum value of the distribution

    • max: number

      Max value of the distribution

    Returns number

Generated using TypeDoc