by bline80 · 6y ago · 0 comments
https://en.wikipedia.org/wiki/Diagonalizable_matrix#Diagonal...
This is why is called the Gaussian Orthogonal Ensemble. The Unitary ensemble deals with unitary matrices for example. All of these ensembles deal with diagonalisable matrices.
The code is providing a numerical verification of the analytical formula. It is a simple code that samples symmetric matrices of different NxN size from a Gaussian distribution.
For N fixed, you draw a certain number of samples and you plot the eigenvalue distribution and compare it with the analytics. Then you can see that for small N there is a deviation from the analytical expression, as this was formally obtained in the large N limit.
Hope this clarifies.