|
template<domain D> |
D bool | any (D bool[[1]] vec, uint k) |
|
Function for checking if any element in a boolean vector is 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 any must be found |
- Returns
- returns a boolean vector that evaluates every subarray seperately for any
- Note
- iteratively checks all elements in input vector and returns true when the first 1-bit is found.
- Leakage
- None
◆ any()
D bool any |
( |
D bool[[1]] |
vec, |
|
|
uint |
k |
|
) |
| |