MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::sparse::factorization::accumulator_traits< Acc, Value > Struct Template Reference

Accumulator policy for the numeric workspace of the left-looking solve. More...

#include <sparse_lu.hpp>

Inheritance diagram for mtl::sparse::factorization::accumulator_traits< Acc, Value >:
mtl::math::accumulator_traits< Acc, Value >

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)

Detailed Description

template<typename Acc, typename Value>
struct mtl::sparse::factorization::accumulator_traits< Acc, Value >

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.


The documentation for this struct was generated from the following file:
  • /home/runner/work/mtl5/mtl5/include/mtl/sparse/factorization/sparse_lu.hpp