Intel xvec
Experimental C++ simd class library
Loading...
Searching...
No Matches
C++26: Unary vector operators

Apply unary operations, including increment and decrement, to vector elements. More...

Functions

constexpr mask_type xvec::simd::basic_vec< _Tp, _Abi >::operator! () const noexcept
 Apply logical not to each vector element to produce a mask.
constexpr basic_vec xvec::simd::basic_vec< _Tp, _Abi >::operator~ () const noexcept
 Apply bitwise not to each vector element.
constexpr basic_vec xvec::simd::basic_vec< _Tp, _Abi >::operator- () const noexcept
 Negate each vector element.
constexpr basic_vec xvec::simd::basic_vec< _Tp, _Abi >::operator+ () const noexcept
 Return a copy of the vector.
constexpr basic_vec & xvec::simd::basic_vec< _Tp, _Abi >::operator++ () noexcept
 Increment each element and return the updated vector.
constexpr basic_vec xvec::simd::basic_vec< _Tp, _Abi >::operator++ (int) noexcept
 Increment each element and return the original vector.
constexpr basic_vec & xvec::simd::basic_vec< _Tp, _Abi >::operator-- () noexcept
 Decrement each element and return the updated vector.
constexpr basic_vec xvec::simd::basic_vec< _Tp, _Abi >::operator-- (int) noexcept
 Decrement each element and return the original vector.

Detailed Description

Apply unary operations, including increment and decrement, to vector elements.

See also
https://eel.is/c++draft/simd.unary