|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
Accumulator policy for the numeric workspace of the left-looking solve. More...
#include <sparse_lu.hpp>
Additional Inherited Members | |
| Static Public Member Functions inherited from mtl::math::accumulator_traits< Acc, Value > | |
| static void | clear (Acc &a) |
| static void | assign (Acc &a, const Value &v) |
| template<typename Result = Value> | |
| static Result | value (const Acc &a) |
| static void | add_product (Acc &a, const Value &m, const Value &v) |
| static void | merge (Acc &a, const Acc &b) |
Accumulator policy for the numeric workspace of the left-looking solve.
The canonical, cross-cutting trait lives in mtl::math::accumulator_traits (#158); this name inherits it for the sparse kernels and source compatibility. Specialize mtl::math::accumulator_traits<Acc, Value> to affect both the sparse factorizations and the dense BLAS ops at once (it propagates here via the base); specialize this one for a sparse-only customization.