xtensor
Loading...
Searching...
No Matches
xt::math::clamp_fun Struct Reference

Public Member Functions

template<class A1 , class A2 , class A3 >
constexpr auto operator() (const A1 &v, const A2 &lo, const A3 &hi) const
 
template<class A1 , class A2 , class A3 >
constexpr auto simd_apply (const A1 &v, const A2 &lo, const A3 &hi) const
 

Detailed Description

Definition at line 604 of file xmath.hpp.

Member Function Documentation

◆ operator()()

template<class A1 , class A2 , class A3 >
constexpr auto xt::math::clamp_fun::operator() ( const A1 & v,
const A2 & lo,
const A3 & hi ) const
inlineconstexpr

Definition at line 607 of file xmath.hpp.

◆ simd_apply()

template<class A1 , class A2 , class A3 >
constexpr auto xt::math::clamp_fun::simd_apply ( const A1 & v,
const A2 & lo,
const A3 & hi ) const
inlineconstexpr

Definition at line 613 of file xmath.hpp.


The documentation for this struct was generated from the following file: