35 #ifndef _BLAZE_MATH_SHIMS_CLAMP_H_ 36 #define _BLAZE_MATH_SHIMS_CLAMP_H_ 70 template<
typename T >
71 inline const T&
clamp(
const T& a,
const T&
min,
const T&
max ) noexcept
decltype(auto) clamp(const DenseMatrix< MT, SO > &dm, const DT &min, const DT &max)
Restricts each single element of the dense matrix dm to the range .
Definition: DMatMapExpr.h:1576
const ElementType_< MT > min(const DenseMatrix< MT, SO > &dm)
Returns the smallest element of the dense matrix.
Definition: DenseMatrix.h:1903
const ElementType_< MT > max(const DenseMatrix< MT, SO > &dm)
Returns the largest element of the dense matrix.
Definition: DenseMatrix.h:1950
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58