{ } Raw JSON

bundles / scipy latest / scipy / stats / _multivariate / ortho_group_frozen / __init__

function

scipy.stats._multivariate:ortho_group_frozen.__init__

source: /scipy/stats/_multivariate.py :4553

Signature

def   __init__ ( self dim = None seed = None )

Summary

Create a frozen O(N) distribution.

Parameters

dim : scalar

Dimension of matrices

seed : {None, int, `numpy.random.Generator`, `numpy.random.RandomState`}, optional

If seed is None (or np.random), the numpy.random.RandomState singleton is used. If seed is an int, a new RandomState instance is used, seeded with seed. If seed is already a Generator or RandomState instance then that instance is used.

Examples

from scipy.stats import ortho_group
g = ortho_group(5)
x = g.rvs()

Aliases

  • scipy.stats._multivariate.ortho_group_frozen.__init__