35 #ifndef _BLAZE_MATH_SHIMS_CLIP_H_
36 #define _BLAZE_MATH_SHIMS_CLIP_H_
79 template<
typename T >
80 const T
clip(
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:1669
const ElementType_< MT > max(const DenseMatrix< MT, SO > &dm)
Returns the largest element of the dense matrix.
Definition: DenseMatrix.h:1716
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the EnableIf class template.
const DMatForEachExpr< MT, Clip< DT >, SO > clip(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:1407
Header file for the IsBuiltin type trait.
System settings for the inline keywords.