bundles / scipy 1.18.0 / scipy / stats / _multivariate / matrix_normal_frozen / rvs
function
scipy.stats._multivariate:matrix_normal_frozen.rvs
Signature
def rvs(self, size = 1, random_state = None)Summary
Draw random samples from a matrix normal 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.
Aliases
scipy.stats._multivariate.matrix_normal_frozen.rvs