Skip to main content

solve_generalized_eigenproblem

Function solve_generalized_eigenproblem 

Source
pub fn solve_generalized_eigenproblem(
    h: &DMatrix<f64>,
    s: &DMatrix<f64>,
) -> (DVector<f64>, DMatrix<f64>)
Expand description

Solve the generalized eigenproblem HC = SCE using Löwdin orthogonalization.

Returns eigenvalues (sorted ascending) and the coefficient matrix C.