std::experimental::all_of, std::experimental::any_of, std::experimental::none_of, std::experimental::some_of
From cppreference.com
< cpp | experimental | simd
Defined in header <experimental/simd>
|
||
template< class T, class Abi > bool all_of( const simd_mask<T, Abi>& k ); |
(1) | (parallelism TS v2) |
template< class T, class Abi > bool any_of( const simd_mask<T, Abi>& k ); |
(2) | (parallelism TS v2) |
template< class T, class Abi > bool none_of( const simd_mask<T, Abi>& k ); |
(3) | (parallelism TS v2) |
template< class T, class Abi > bool some_of( const simd_mask<T, Abi>& k ); |
(4) | (parallelism TS v2) |
1) Returns true if all values in k are true.
2) Returns true if at least one value in k is true.
3) Returns true if all values in k are false.
4) Returns true if at least one value in k is true but not all values in k are true.
Parameters
k | - | the simd_mask to apply the reduction to
|
Return value
The boolean result of the horizontal reduction.
Example
This section is incomplete Reason: no example |