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, or None) – Determines how the random numbers are created. If set to None then the
numpy.random.randint
routine is used.high – The upper limit (not inclusive).
- Returns:
value
- Return type:
number