| 1 | /* Eigen-decomposition for symmetric 3x3 real matrices. |
| 2 | Public domain, copied from the public domain Java library JAMA. */ |
| 3 | |
| 4 | #ifndef _eig_h |
| 5 | |
| 6 | /* Symmetric matrix A => eigenvectors in columns of V, corresponding |
| 7 | eigenvalues in d. */ |
| 8 | void eigen_decomposition(double A[3][3], double V[3][3], double d[3]); |
| 9 | |
| 10 | #endif |