35 #ifndef _BLAZE_MATH_SHIMS_CLAMP_H_ 36 #define _BLAZE_MATH_SHIMS_CLAMP_H_ 79 template<
typename T >
80 const T&
clamp(
const T& a,
const T&
min,
const T&
max ) noexcept
const ElementType_< MT > min(const DenseMatrix< MT, SO > &dm)
Returns the smallest element of the dense matrix.
Definition: DenseMatrix.h:1755
const ElementType_< MT > max(const DenseMatrix< MT, SO > &dm)
Returns the largest element of the dense matrix.
Definition: DenseMatrix.h:1802
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the EnableIf class template.
const DMatForEachExpr< MT, Clamp< DT >, SO > 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: DMatForEachExpr.h:1463
Header file for the IsBuiltin type trait.
System settings for the inline keywords.