bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _multivariate / invwishart_gen / _inv_standard_rvs
function
scipy.stats._multivariate:invwishart_gen._inv_standard_rvs
source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_multivariate.py:3637
Signature
def _inv_standard_rvs(self, n, shape, dim, df, random_state)Parameters
n: intNumber 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