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 / ortho_group_frozen / __init__

function

scipy.stats._multivariate:ortho_group_frozen.__init__

source: build-install/usr/lib/python3.14/site-packages/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__