integers
- sherpa.utils.random.integers(rng: Generator | RandomState | None, high: int) int[source] [edit on github]
Create a random integer from [0, high).
- Parameters:
- rng
numpy.random.Generator,numpy.random.RandomState,orNone Determines how the random numbers are created. If set to None then the
numpy.random.randintroutine is used.- high
The upper limit (not inclusive).
- rng
- Returns:
- value
number
- value