class
SushiBLAS::Reduce::CompensatedComplexSum
template <typename C>Holds a complex running sum as two CompensatedSum, one per component.
- Declared in
include/SushiBLAS/support/reduce_1d.hpp
Template parameters
CA std::complex type.
See also
include/SushiBLAS/support/README.md
Static public member functions
static C identity() noexceptReturns the value an empty sum has.
static C combine(C a, C b) noexceptCombines two finished sums.
Returns
a + b.
Public member functions
void accumulate(C x) noexceptFolds one value into the running sum, component by component.
Parameters
xThe value to add.
C value() const noexceptReturns the sum with both corrections applied.

