* @param computeVectors Should it compute the eigenvectors or just eigenvalues.
* @return an IEigenResult object that represents the solution to the decomposition.
*/
public static IEigenResult decomposeSymmetric(AMatrix A, boolean computeVectors) {
SymmetricQRAlgorithmDecomposition alg = new SymmetricQRAlgorithmDecomposition(computeVectors);
return alg.decompose(A);
}
/**
* <p>
* Computes the eigenvalues and eigenvectors of a real symmetric matrix. Returns an object that represents
* the solution of the decomposition.