pub trait Eig: Matrix { type Output; fn eig(&self) -> Self::Output; }
Returns an approximation of the eigenvalues of a matrix
eig(A)
let a = [ [1.0, 2.0], [3.0, 4.0] ]; let eig_a = eig(a);