{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _multivariate / special_ortho_group_frozen / __init__

function

scipy.stats._multivariate:special_ortho_group_frozen.__init__

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

Signature

def   __init__ ( self dim = None seed = None )

Summary

Create a frozen SO(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 special_ortho_group
g = special_ortho_group(5)
x = g.rvs()

Aliases

  • scipy.stats._multivariate.special_ortho_group_frozen.__init__