package com.imsl.test.example.math; import com.imsl.math.*; /** *

* Computes the eigenvalues and eigenvectors of a symmetric matrix. *

* * @see Code * @see Output */ public class SymEigenEx1 { public static void main(String args[]) { double a[][] = { {1, 1, 1}, {1, 1, 1}, {1, 1, 1} }; SymEigen eigen = new SymEigen(a); new PrintMatrix("Eigenvalues").print(eigen.getValues()); new PrintMatrix("Eigenvectors").print(eigen.getVectors()); } }