Skip to main content

eig_generalized

Function eig_generalized 

Source
pub fn eig_generalized<T: Scalar, S: Data<Elem = T>, S2: Data<Elem = T>>(
    a: &ArrayBase<S, Ix2>,
    b: &ArrayBase<S2, Ix2>,
) -> Result<GeneralizedEigen>
Expand description

The generalised eigenvalues and right eigenvectors of (A, B) (SciPy’s eig(a, b)), from the QZ form: for each k, (β_k S − α_k T) y = 0 is solved by back substitution with y_k = 1, and x = Z y is normalised to unit length.