Class EvaluationRmsChecker

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double absTol
      absolute tolerance for comparisons.
      private double relTol
      relative tolerance for comparisons.
    • Constructor Summary

      Constructors 
      Constructor Description
      EvaluationRmsChecker​(double tol)
      Create a convergence checker for the RMS with the same relative and absolute tolerance.
      EvaluationRmsChecker​(double relTol, double absTol)
      Create a convergence checker for the RMS with a relative and absolute tolerance.
    • Field Detail

      • relTol

        private final double relTol
        relative tolerance for comparisons.
      • absTol

        private final double absTol
        absolute tolerance for comparisons.
    • Constructor Detail

      • EvaluationRmsChecker

        public EvaluationRmsChecker​(double tol)
        Create a convergence checker for the RMS with the same relative and absolute tolerance.

        Convenience constructor for when the relative and absolute tolerances are the same. Same as new EvaluationRmsChecker(tol, tol).

        Parameters:
        tol - the relative and absolute tolerance.
        See Also:
        EvaluationRmsChecker(double, double)