CircularRealMatrixDistribution
✖
CircularRealMatrixDistribution
represents a circular real matrix distribution with matrix dimensions {n,n}.
Details

- CircularRealMatrixDistribution is also known as circular real ensemble, or CRE.
- CircularRealMatrixDistribution represents a uniform distribution over the orthogonal square matrices of dimension n, also known as the Haar measure on the orthogonal group
.
- The dimension parameter n can be any positive integer.
- CircularRealMatrixDistribution can be used with such functions as MatrixPropertyDistribution and RandomVariate.
Background & Context
- CircularRealMatrixDistribution[n], also referred to as the circular real ensemble (CRE), represents a statistical distribution over the
orthogonal real matrices, namely real square matrices
satisfying
, where
denotes the transpose of
and
denotes the
identity matrix. Here, the parameter n is called the dimension parameter of the distribution and may be any positive integer.
- Along with the circular quaternion matrix distribution (CircularQuaternionMatrixDistribution), the circular real matrix distribution is one of two major additions to the three original circle matrix ensembles (CircularOrthogonalMatrixDistribution, CircularSymplecticMatrixDistribution and CircularUnitaryMatrixDistribution) devised by Freeman Dyson in 1962. Probabilistically, the circular real matrix distribution represents a uniform distribution over the collection of orthogonal square matrices, while mathematically it is a so-called Haar measure on the orthogonal group
. Matrix ensembles like the circular real matrix distribution are of considerable importance in the study of random matrix theory, as well as in various branches of physics and mathematics.
- RandomVariate can be used to give one or more machine- or arbitrary-precision (the latter via the WorkingPrecision option) pseudorandom variates from a circular real matrix distribution, and the mean, median, variance, raw moments and central moments of a collection of such variates may then be computed using Mean, Median, Variance, Moment and CentralMoment, respectively. Distributed[A,CircularRealMatrixDistribution[n]], written more concisely as ACircularRealMatrixDistribution[n], can be used to assert that a random matrix A is distributed according to a circular real matrix distribution. Such an assertion can then be used in functions such as MatrixPropertyDistribution.
- The trace, eigenvalues and norm of variates distributed according to circular real matrix distribution may be computed using Tr, Eigenvalues and Norm, respectively. Such variates may also be examined with MatrixFunction and MatrixPower, while the entries of such variates can be plotted using MatrixPlot.
- CircularRealMatrixDistribution is related to a number of other distributions. As discussed above, it is qualitatively similar to other circular matrix distributions such as CircularQuaternionMatrixDistribution, CircularOrthogonalMatrixDistribution, CircularSymplecticMatrixDistribution and CircularUnitaryMatrixDistribution. Originally, the circular matrix ensembles were derived as generalizations of the so-called Gaussian ensembles, and so CircularRealMatrixDistribution is related to GaussianOrthogonalMatrixDistribution, GaussianSymplecticMatrixDistribution and GaussianUnitaryMatrixDistribution. CircularRealMatrixDistribution is also related to MatrixNormalDistribution, MatrixTDistribution, WishartMatrixDistribution, InverseWishartMatrixDistribution, TracyWidomDistribution and WignerSemicircleDistribution.
Examples
open allclose allBasic Examples (2)Summary of the most common use cases

https://wolfram.com/xid/0nxuqi53h02df4qsa-lcf25m

Verify that the matrix is orthogonal:

https://wolfram.com/xid/0nxuqi53h02df4qsa-d74iuy

Sample a random point on a sphere using MatrixPropertyDistribution:

https://wolfram.com/xid/0nxuqi53h02df4qsa-g4manc

The distribution of points over the sphere is uniform:

https://wolfram.com/xid/0nxuqi53h02df4qsa-ik0fkk

Scope (3)Survey of the scope of standard use cases
Generate a single random orthogonal matrix:

https://wolfram.com/xid/0nxuqi53h02df4qsa-d13sc9

Generate a set of random orthogonal matrices:

https://wolfram.com/xid/0nxuqi53h02df4qsa-y6wkjj

Compute statistical properties numerically:

https://wolfram.com/xid/0nxuqi53h02df4qsa-ishsd

https://wolfram.com/xid/0nxuqi53h02df4qsa-dqkrrv


https://wolfram.com/xid/0nxuqi53h02df4qsa-bulnqy

Applications (2)Sample problems that can be solved with this function
Sample EulerAngles of random special orthogonal matrices in 3D:

https://wolfram.com/xid/0nxuqi53h02df4qsa-byaa9i

https://wolfram.com/xid/0nxuqi53h02df4qsa-j0ge5
Check that the sample agrees with the expected distribution:

https://wolfram.com/xid/0nxuqi53h02df4qsa-cqykqn

Visualize histograms of individual angles:

https://wolfram.com/xid/0nxuqi53h02df4qsa-kt6z2y

Sample points on by randomly rotating a fixed 4D vector:

https://wolfram.com/xid/0nxuqi53h02df4qsa-djxuwa

https://wolfram.com/xid/0nxuqi53h02df4qsa-t615i

Project the points to by Hopf map, for which the uniform measure on
induces uniform measure on
:

https://wolfram.com/xid/0nxuqi53h02df4qsa-dfwkwx

https://wolfram.com/xid/0nxuqi53h02df4qsa-hmcmbu


https://wolfram.com/xid/0nxuqi53h02df4qsa-hmec0z

Project the points and bin them by the first coordinate of the projection:

https://wolfram.com/xid/0nxuqi53h02df4qsa-bp2veq
Visualize the points on at different angles on
:

https://wolfram.com/xid/0nxuqi53h02df4qsa-cp5saw

Properties & Relations (2)Properties of the function, and connections to other functions
Distribution of phase angle of the eigenvalues:

https://wolfram.com/xid/0nxuqi53h02df4qsa-po5mg

https://wolfram.com/xid/0nxuqi53h02df4qsa-ntw1p

Compute the spacing between eigenvalues:

https://wolfram.com/xid/0nxuqi53h02df4qsa-k7htx4
Compare the histogram of sample level spacings with the closed form, also known as Wigner surmise for Dyson index :

https://wolfram.com/xid/0nxuqi53h02df4qsa-i7msh9

https://wolfram.com/xid/0nxuqi53h02df4qsa-ccvw5k

For eigenvectors of CircularRealMatrixDistribution with dimension large, the scaled modulus of the elements is
distributed:

https://wolfram.com/xid/0nxuqi53h02df4qsa-zalj1

https://wolfram.com/xid/0nxuqi53h02df4qsa-byuyue
Compare the histogram with PDF of ChiSquareDistribution:

https://wolfram.com/xid/0nxuqi53h02df4qsa-rbum

Wolfram Research (2015), CircularRealMatrixDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/CircularRealMatrixDistribution.html.
Text
Wolfram Research (2015), CircularRealMatrixDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/CircularRealMatrixDistribution.html.
Wolfram Research (2015), CircularRealMatrixDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/CircularRealMatrixDistribution.html.
CMS
Wolfram Language. 2015. "CircularRealMatrixDistribution." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CircularRealMatrixDistribution.html.
Wolfram Language. 2015. "CircularRealMatrixDistribution." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CircularRealMatrixDistribution.html.
APA
Wolfram Language. (2015). CircularRealMatrixDistribution. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CircularRealMatrixDistribution.html
Wolfram Language. (2015). CircularRealMatrixDistribution. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CircularRealMatrixDistribution.html
BibTeX
@misc{reference.wolfram_2025_circularrealmatrixdistribution, author="Wolfram Research", title="{CircularRealMatrixDistribution}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/CircularRealMatrixDistribution.html}", note=[Accessed: 22-April-2025
]}
BibLaTeX
@online{reference.wolfram_2025_circularrealmatrixdistribution, organization={Wolfram Research}, title={CircularRealMatrixDistribution}, year={2015}, url={https://reference.wolfram.com/language/ref/CircularRealMatrixDistribution.html}, note=[Accessed: 22-April-2025
]}