I am using a fragment shader to, among other things, calculate the eigenvectors of a 2x2 matrix. I can calculate the eigenvalues just fine using the quadratic formula on the characteristic equation.
Correction: The original version of this article incorrectly stated that eigenvalues are the magnitudes of eigenvectors. In fact, eigenvalues are scalars that are multiplied with eigenvectors. This ...