pub fn eigenvalues_general(
n: usize,
data: &[f64],
) -> Result<Vec<Complex>, SolversError>Expand description
Eigenvalues of a GENERAL (not necessarily symmetric) row-major n×n matrix, as
complex numbers. Computes the characteristic polynomial (Faddeev–LeVerrier) and finds
its roots. Returns all n eigenvalues; real ones have im ≈ 0.