Package org.hipparchus.util
Class MathUtils.FieldSumAndResidual<T extends FieldElement<T>>
java.lang.Object
org.hipparchus.util.MathUtils.FieldSumAndResidual<T>
- Type Parameters:
T- field element type
- Enclosing class:
MathUtils
Result class for
MathUtils.twoSum(FieldElement, FieldElement) containing
the sum and the residual error in the sum.-
Method Summary
Modifier and TypeMethodDescriptionReturns the residual error in the sum.getSum()Returns the sum.
-
Method Details
-
getSum
Returns the sum.- Returns:
- sum
-
getResidual
Returns the residual error in the sum.- Returns:
- residual error in the sum
-