public static class Hessenberg.DefaultDeflationCriterion extends java.lang.Object implements Hessenberg.DeflationCriterion
| H[i,j] | < tol * (| H[i-1,j] | + | H[i,j+1] |)or, when
| H[i-1,j] | + | H[i,j+1] | == 0and to use eq. 2.26 in Matrix Algorithms, Volume II by Steward G. W.
| H[i,j] | < tol * ||A||F| Constructor and Description |
|---|
DefaultDeflationCriterion()
Construct the default deflation criterion.
|
DefaultDeflationCriterion(double threshold)
Construct the default deflation criterion.
|
| 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. |
public DefaultDeflationCriterion(double threshold)
threshold - the tolerance in Steward's deflation criterionpublic DefaultDeflationCriterion()
public boolean isNegligible(Matrix H, int i, int j, double epsilon)
H[i,j] is negligible by Steward's deflation criterion.isNegligible in interface Hessenberg.DeflationCriterionH - a matrixi - a row indexj - a column indexepsilon - a precision parameter: when a number |x| ≤ ε, it is considered 0true if
| H[i,j] | < tol * (| H[i-1,j] | + | H[i,j+1] |)