Generic wrapper for the clamp() function.
More...
#include <Clamp.h>
|
DT | min_ |
| The lower delimiter.
|
|
DT | max_ |
| The upper delimiter.
|
|
template<typename DT>
struct blaze::Clamp< DT >
Generic wrapper for the clamp() function.
◆ Clamp()
Constructor of the Clamp functor.
- Parameters
-
min | The lower limit of the range. |
max | The upper limit of the range. |
◆ operator()()
template<typename DT >
template<typename T >
Returns the result of the clamp() function for the given object/value.
- Parameters
-
- Returns
- The result of the clamp() function for the given object/value.
The documentation for this struct was generated from the following file: