Skip to content

Function inrange

function inrange(const T1 &, const T2 &, const T3 &) simd

template <typename T1, typename T2, typename T3>
KFR_INTRINSIC maskfor<std::common_type_t<T1, T2, T3>> inrange(const T1& x, const T2& min, const T3& max)

Test whether each element lies within a closed range.

Parameters
x Value to test.
min Lower bound (inclusive).
max Upper bound (inclusive).
Returns
Mask of elements where min <= x <= max .

Fully qualified name: kfr::inrange(const T1 &, const T2 &, const T3 &)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.