You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the code here is solving the eigenvalues of a symmetric matrix: $$\det\left([[a-\lambda,b], [b, c-\lambda]]\right)=(a-\lambda)(c-\lambda)-b^{2}=0$$ $$\lambda^{2}-(a+c)\lambda+(ac-b^{2})=0$$ $$\lambda=0.5 * \Bigg[(a+c)\pm \sqrt{(a+c)^{2}-4*(ac-b^{2})}\Bigg]$$
But the code seems to have omitted $0.5*$ and $4*$