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

Namespaces

namespace  mtl

Functions

template<MutableCollection C>
void mtl::fill (C &c, const typename C::value_type &val)
 Fill all elements of a collection with the given value.