Wrapper around an instance of a pure-rand's random number generator offering a simpler interface to deal with random with impure patterns

Constructors

Methods

  • Generate a random ArrayInt between min (included) and max (included)

    Parameters

    • min: {
          data: number[];
          sign: -1 | 1;
      }

      Minimal ArrayInt value

      • data: number[]
      • sign: -1 | 1
    • max: {
          data: number[];
          sign: -1 | 1;
      }

      Maximal ArrayInt value

      • data: number[]
      • sign: -1 | 1

    Returns {
        data: number[];
        sign: -1 | 1;
    }

    • data: number[]
    • sign: -1 | 1