E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches
eve::ignore_first Struct Reference

Conditional expression ignoring the k first lanes from a eve::simd_value. More...

#include <eve/conditional.hpp>

Detailed Description

Required header: #include <eve/conditional.hpp>

Public Member Functions

template<typename V >
constexpr auto else_ (V const &v) const
 Extends a conditional expression with an alternative value.
 
template<typename T >
as_logical_t< T > mask (eve::as< T > tgt) const
 Computes the eve::logical_value associated to the current conditional.
 
template<typename T >
constexpr auto count (eve::as< T > const &) const
 Number of lanes to be left unmasked.
 
constexpr bool friend operator== (ignore_first const &, ignore_first const &)=default
 Checks equality between two eve::ignore_first instances.
 

Friends

std::ostream & operator<< (std::ostream &os, ignore_first const &c)
 Inserts a eve::ignore_first conditional expression into a output stream.