fn eigenvalues_3x3_cardano(
a: f64,
b: f64,
c: f64,
d: f64,
e: f64,
f: f64,
) -> (f64, f64, f64)Expand description
Analytical eigenvalues of 3×3 symmetric matrix using Cardano’s method
Much faster than Householder+QL since it avoids eigenvector computation and uses a fixed number of operations (no iteration).
Matrix is: | a d e | | d b f | | e f c |
Returns eigenvalues (not sorted)