class
SushiBLAS::Reduce::RunningProduct
template <typename T>Holds a running product, folded in the same fixed order as CompensatedSum.
- Declared in
include/SushiBLAS/support/reduce_1d.hpp
See also
include/SushiBLAS/support/README.md
Static public member functions
static constexpr T identity() noexceptReturns the value an empty product has.
static T combine(T a, T b) noexceptCombines two finished products.
Parameters
aThe left partial.
bThe right partial.
Returns
a * b.
Public member functions
void accumulate(T x) noexceptFolds one value into the running product.
Parameters
xThe value to multiply in.
T value() const noexceptReturns the product so far.
Returns
The running product.

