Empirical spectral measure (source code)

= Empirical spectral measure
{title2=$L_N=N^{-1}\sum_{i=1}^N\delta_{\lambda_i}$}

For an $N$-by-$N$ <Hermitian matrix>, the empirical spectral measure puts mass $1/N$ at each <eigenvalue>, counted with multiplicity. It is a <probability measure>. Integrating a test <function> against it gives the average of that <function> evaluated at the <eigenvalues>.