Class MathUtils.SumAndResidual

java.lang.Object
org.hipparchus.util.MathUtils.SumAndResidual
Enclosing class:
MathUtils

public static final class MathUtils.SumAndResidual extends Object
Result class for MathUtils.twoSum(double, double) containing the sum and the residual error in the sum.
  • Method Details

    • getSum

      public double getSum()
      Returns the sum.
      Returns:
      sum
    • getResidual

      public double getResidual()
      Returns the residual error in the sum.
      Returns:
      residual error in the sum