MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
set_to_zero.hpp File Reference
#include <algorithm>
#include <mtl/concepts/collection.hpp>
#include <mtl/math/identity.hpp>

Namespaces

namespace  mtl

Functions

template<MutableCollection C>
void mtl::set_to_zero (C &c)
 Set all elements of a collection to zero.