Spectral radius function