|
SecreC 2 language 2.9.0 (2026.10)
Language and standard library reference
|
Functions | |
| template<domain D :shared2p > | |
| D uint | truePrefixLength (D bool arr) |
Function for finding how many elements from the start of a vector are true.
| D uint truePrefixLength | ( | D bool | arr | ) |
| arr | - boolean 1-dimensional vector |