The sherpa.utils.random module
Basic routines for handling random numbers.
A number of routines have been added to support writing code that allows both the legacy (pre 1.17) NumPy random API to be used (with rng set to None) or the new generator approach.
Functions
|
Create a random value from a multivariate normal distribution. |
|
Create a subset of elements from xs with no duplication. |
|
Create a random integer from [0, high). |
|
Create a random value from a multivariate normal distribution. |
|
Create a random value from a normal distribution. |
Draw samples from a Poisson distribution. |
|
|
Create a random value [0, 1.0) |
Create a random value from a normal distribution (mean=0, stdev=1). |
|
|
Create a random value within a uniform range. |