template <relaxed_logical_value L>
std::optional<std::ptrdiff_t>
first_true(L m)
noexcept;
template <logical_simd_value L>
Specifies that a type is a Conditional Expression.
Definition conditional.hpp:28
The concept logical_value<T> is satisfied if and only if T satisfies eve::value and the element type ...
Definition value.hpp:134
constexpr auto first_true
Returns the index of the first element in the input which evaluates to true, if there is one.
Definition first_true.hpp:83
The cheapest to get bitset for simd logical.
Definition top_bits.hpp:80
The function is considering the case when nothing is set to be likely, checking for eve::any before hand is not going to be helpful. At the moment there isn't a function that would do it otherwise.
#include <eve/module/core.hpp>
#include <iostream>
int main()
{
eve::wide wu0{0u, 1u, 2u, 3u, 4u, 5u, 6u, 7u};
std::cout << "<- wu0 = " << wu0 << "\n";
}
constexpr auto maximum
Computes the maximal value in a simd vector or valmin if the input is fully masked.
Definition maximum.hpp:83
Conditional expression ignoring the k first lanes from a eve::simd_value.
Definition conditional.hpp:508
Wrapper for SIMD registers.
Definition wide.hpp:94