import com.imsl.math.*; public class EigenEx1 { public static void main(String args[]) throws Eigen.DidNotConvergeException { double a[][] = { { 8, -1, -5}, {-4, 4, -2}, {18, -5, -7} }; Eigen eigen = new Eigen(a); new PrintMatrix("Eigenvalues").print(eigen.getValues()); new PrintMatrix("Eigenvectors").print(eigen.getVectors()); } }