simdpp::reduce_and(integer)
From cppreference.com
< int
template<unsigned N, class E1>
Ret reduce_and( const Vec1<N,E1>& a ); |
||
Computes bitwise AND of all elements in the vector. The implementation behaves as if the following set of overloads is provided:
Ret
|
Vec1
|
---|---|
int8_t | int8 |
uint8_t | uint8 |
int16_t | int16 |
uint16_t | uint16 |
int32_t | int32 |
uint32_t | uint32 |
int64_t | int64 |
uint64_t | uint64 |
Contents |
Parameters
a | - | integer vector |
Return value
Bitwise AND of all elements within a vector
Equivalent operation
r = a0 & ... & aN
See also
This section is incomplete |