|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
#include <type_traits>#include <mtl/concepts/collection.hpp>#include <mtl/math/identity.hpp>#include <mtl/math/accumulator_traits.hpp>Namespaces | |
| namespace | mtl |
Functions | |
| template<typename Accumulator = void, Collection C> | |
| auto | mtl::sum (const C &c) |
| Returns the sum of all elements: sum(c[i]). | |