This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _multivariate / normal_inverse_gamma_frozen / rvs

function

scipy.stats._multivariate:normal_inverse_gamma_frozen.rvs

source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_multivariate.py:8031

Signature

def rvs(self, size = None, random_state = None)

Summary

Draw random samples from the distribution.

Parameters

mu, lmbda, a, b : array_like, optional

Shape parameters. lmbda, a, and b must be greater than zero.

size : int or tuple of ints, optional

Shape of samples to draw.

random_state : {None, int, np.random.RandomState, np.random.Generator}, optional

Used for drawing random variates. If random_state is None, the ~np.random.RandomState singleton is used. If random_state is an int, a new RandomState instance is used, seeded with random_state. If random_state is already a RandomState or Generator instance, then that object is used. Default is None.

Returns

x, s2 : ndarray

Random variates.

Aliases

  • scipy.stats._multivariate.method_frozen