batch_bool¶
-
template<class
T
, classA
= default_arch>
classbatch_bool
: public types::get_bool_simd_register_t<T, default_arch>¶ batch of predicate over scalar or complex values.
Abstract representation of a predicate over SIMD register for scalar or complex values.
- Template Parameters
T
: the type of the predicated values.A
: the architecture this batch is tied too.
Logical operators¶
Reducers¶
-
template<class
T
, classA
>
boolall
(batch_bool<T, A> const &x) noexcept¶ Returns true if all the boolean values in the batch are true, false otherwise.
- Return
a boolean scalar.
- Parameters
x
: the batch to reduce.