#include <gpr/linalg/CompensatedSum.h>
Public Member Functions | |
| void | add (double value) |
| void | addProduct (double left, double right) |
| double | value () const |
Public Attributes | |
| double | sum = 0.0 |
| double | corr = 0.0 |
Neumaier summation with explicit product residuals. The two components remain separate across distributed reductions until the final rounding.
Definition at line 85 of file CompensatedSum.h.
|
inline |
Definition at line 89 of file CompensatedSum.h.
|
inline |
TwoProductFMA (Ogita, Rump, Oishi, 2005, Algorithm 3.5). The residual is exact when no intermediate operation overflows or underflows.
Definition at line 100 of file CompensatedSum.h.
|
inline |
Definition at line 107 of file CompensatedSum.h.
| double gpr::linalg::CompensatedSum::corr = 0.0 |
Definition at line 87 of file CompensatedSum.h.
| double gpr::linalg::CompensatedSum::sum = 0.0 |
Definition at line 86 of file CompensatedSum.h.