Skip navigation links
com.numericalmethod.suanshu.matrix.doubles.factorization.eigen.qr

Class Hessenberg.DefaultDeflationCriterion

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean isNegligible(Matrix H, int i, int j, double epsilon)
      Check if H[i,j] is negligible by Steward's deflation criterion.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultDeflationCriterion

        public DefaultDeflationCriterion(double threshold)
        Construct the default deflation criterion.
        Parameters:
        threshold - the tolerance in Steward's deflation criterion
      • DefaultDeflationCriterion

        public DefaultDeflationCriterion()
        Construct the default deflation criterion.
    • Method Detail

      • isNegligible

        public boolean isNegligible(Matrix H,
                                    int i,
                                    int j,
                                    double epsilon)
        Check if H[i,j] is negligible by Steward's deflation criterion.
        Specified by:
        isNegligible in interface Hessenberg.DeflationCriterion
        Parameters:
        H - a matrix
        i - a row index
        j - a column index
        epsilon - a precision parameter: when a number |x| ≤ ε, it is considered 0
        Returns:
        true if
        | H[i,j] | < tol * (| H[i-1,j] | + | H[i,j+1] |)