\[\det(\mathbf{A})=\det(\mathbf{S}{\mathbf{S}}^{-1}\mathbf{A})=\det({\mathbf{S}}%
^{-1}\mathbf{A}\mathbf{S})=\prod_{i=1}^{n}\lambda_{i}.\]