Function select¶
function select(const mask<T1, N> &, const T2 &, const T3 &) simd¶
template <numeric T1, size_t N, numeric T2, numeric T3, typename Tout = subtype<std::common_type_t<T2, T3>>>
KFR_INTRINSIC vec<Tout, N> select(const mask<T1, N>& m, const T2& x, const T3& y) Returns x if m is true, otherwise return y. Order of the arguments is same as in ternary operator.
return m ? x : y
Fully qualified name: kfr::select(const mask<T1, N> &, const T2 &, const T3 &)
Declared at simd/select.hpp:39
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.