|
template<domain D> |
D bool | all (D bool[[1]] vec, uint k) |
|
Function for checking if all elements in a boolean vector are true in specified parts.
- Note
- D - all protection domains
-
Supported types - bool
- Parameters
-
vec | - a vector of supported type |
k | - an uint type value for specifying from how many subarrays all must be found |
- Returns
- returns a boolean vector that evaluates every subarray seperately for all
- Note
- iteratively checks all elements in input vector and returns false when the first 0-bit is found.
- Leakage
- None
◆ all()
D bool all |
( |
D bool[[1]] |
vec, |
|
|
uint |
k |
|
) |
| |