Store computed eigenvalues to avoid re-calculating them later. They are just computed again if the matrix is re-sampled.
Method rvs of WignerSemicircleDistribution now uses the relationship between the Beta distribution and the Wigner's Semicircle law to generate random samples of it.
Method plot_empirical_pdf of WignerSemicircleDistribution now uses its own class method rvs to generate the sampled eigenvalues, instead of sampling eigenvalues from an instance of the GaussianEnsemble.
New features added:
rvs
ofWignerSemicircleDistribution
now uses the relationship between the Beta distribution and the Wigner's Semicircle law to generate random samples of it.plot_empirical_pdf
ofWignerSemicircleDistribution
now uses its own class methodrvs
to generate the sampled eigenvalues, instead of sampling eigenvalues from an instance of theGaussianEnsemble
.