bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _multivariate / matrix_t_frozen / rvs
function
scipy.stats._multivariate:matrix_t_frozen.rvs
source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_multivariate.py:2108
Signature
def rvs(self, size = 1, random_state = None)Summary
Draw random samples from a matrix t distribution.
Parameters
size: int, optionalNumber of samples to draw (default 1).
seed: {None, int, np.random.RandomState, np.random.Generator}, optionalUsed for drawing random variates. If seed is None, the
~np.random.RandomStatesingleton is used. If seed is an int, a newRandomStateinstance is used, seeded with seed. If seed is already aRandomStateorGeneratorinstance, then that object is used. Default is None.
Returns
rvs: ndarray or scalarRandom variates of size (
size,dims), wheredimsis the dimension of the random matrices.
Notes
See class definition for a detailed description of parameters.
This method takes advantage of the two equivalent expressions of the probability density function. It samples a Cholesky factor of a random variate of the appropriate inverse Wishart distribution using the smaller of the row/column dimensions.
Aliases
scipy.stats._multivariate.matrix_t_frozen.rvs