Class DQDS


  • public class DQDS
    extends Object
    Computes all the eigenvalues of the symmetric positive definite tridiagonal matrix associated with the qd-array Z to high relative accuracy.
    • Constructor Detail

      • DQDS

        public DQDS​(int n,
                    Vector q,
                    Vector e)
        Computes all the eigenvalues of the symmetric positive definite tridiagonal matrix associated with the q and e values to high relative accuracy.
        Parameters:
        n - the dimension of the matrix
        q - the q values
        e - the e values
    • Method Detail

      • getEigenvalues

        public double[] getEigenvalues()
        Gets the eigenvalues of the matrix, sorted in descending order.
        Returns:
        the eigenvalues sorted in descending order