multivariate_normal
- sherpa.utils.random.multivariate_normal(rng: Generator | RandomState | None, mean, cov, size=None) ndarray[source] [edit on github]
Create a random value from a multivariate normal distribution.
- Parameters:
- rng
numpy.random.Generator,numpy.random.RandomState,orNone Determines how the random numbers are created. If set to None then the
numpy.random.multivariate_normalroutine is used.- mean, cov
The mean and covariance matrix.
- size
optional The shape and number of elements to create.
- rng
- Returns:
- value
numberorndarray
- value