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 Link icon

    • getSum Link icon

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

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