std::experimental::where_expression (3) - Linux Manuals

std::experimental::where_expression: std::experimental::where_expression

NAME

std::experimental::where_expression - std::experimental::where_expression

Synopsis


Defined in header <experimental/simd>
template < class M, class V >
class where_expression;


The class template where_expression abstracts the notion of selected elements of a given non-const object of arithmetic or data-parallel type. Selected elements signifies the elements data[i] for all i ∈ {j ∈ ℕ0 | j < M::size() ⋀ mask[j]}.

Template parameters


M - The mask type
V - The value type M applies on


Valid combinations of (M, V) are: (simd_mask<T, Abi>, simd<T, Abi>), (simd_mask<T, Abi>, simd_mask<T, Abi>), (bool, T).

Member functions


             assigns to selected positions
operator= (public member function)


operator+=_
operator-=_
operator*=_
operator/=_ compound operators
operator%=_ (public member function)
operator&=_
operator|=_
operator^=_
operator<<=_
operator>>=
             increment and decrement operators
operator++_ (public member function)
operator--
             loads from address to selected positions
copy_from (public member function)

Example