MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
floor.hpp File Reference
#include <cmath>
#include <mtl/concepts/vector.hpp>
#include <mtl/concepts/matrix.hpp>
#include <mtl/vec/dense_vector.hpp>
#include <mtl/mat/dense2D.hpp>

Namespaces

namespace  mtl

Functions

template<Vector V>
auto mtl::floor (const V &v)
 Element-wise floor for vectors.
template<Matrix M>
auto mtl::floor (const M &m)
 Element-wise floor for matrices.