Skip to main content

eigh_generalized

Function eigh_generalized 

Source
pub fn eigh_generalized<T: Scalar, S: Data<Elem = T>, S2: Data<Elem = T>>(
    a: &ArrayBase<S, Ix2>,
    b: &ArrayBase<S2, Ix2>,
    uplo: UPLO,
) -> Result<(Array1<f64>, Array2<T>)>
Expand description

The eigenvalues (ascending) and eigenvectors of the symmetric-definite problem A x = λ B x, A Hermitian and B Hermitian positive definite (SciPy’s eigh(a, b), LAPACK’s sygv type 1). With B = L Lᴴ, the problem becomes the standard C y = λ y for C = L⁻¹ A L⁻ᴴ, and x = L⁻ᴴ y; the eigenvectors are B-orthonormal, Xᴴ B X = I.