pub fn eig_ndarray<T>(a: &Array2<T>) -> LapackResult<GeneralEvdResult<T>>Expand description
Computes eigenvalues of a general (non-symmetric) matrix.
For a real matrix, eigenvalues may be complex. They are returned as real/imaginary pairs. Eigenvectors are also split into real and imaginary parts.
§Arguments
a- The input square matrix (n×n)
§Returns
Eigenvalues and eigenvectors (split into real/imaginary parts)