bundles / scipy latest / scipy / stats / _multivariate / invwishart_gen / _inv_standard_rvs
function
scipy.stats._multivariate:invwishart_gen._inv_standard_rvs
Signature
def _inv_standard_rvs ( self , n , shape , dim , df , random_state ) Parameters
n: integerNumber of variates to generate
shape: iterableShape of the variates to generate
dim: intDimension of the scale matrix
df: intDegrees of freedom
random_state: {None, int, `numpy.random.Generator`,numpy.random.RandomState}, optional
If
seedis None (ornp.random), the numpy.random.RandomState singleton is used. Ifseedis an int, a newRandomStateinstance is used, seeded withseed. Ifseedis already aGeneratororRandomStateinstance then that instance is used.
Returns
A: ndarrayRandom variates of shape (
shape) + (dim,dim). Each sliceA[..., :, :]is lower-triangular, and its inverse is the lower Cholesky factor of a draw frominvwishart(df, np.eye(dim)).
Notes
As this function does no argument checking, it should not be called directly; use 'rvs' instead.
Aliases
-
scipy.stats._multivariate.invwishart_gen._inv_standard_rvs