nx_or_all.nx
buildroot/runtime/nx_or_all.nx
about
nx_or_all.nx -- AUTO-GENERATED from shape `accumulator_over_array`.
Shape: read-only fold over a *nx_int array of length nx_idx; returns
an accumulated nx_int. 0 = initial accumulator value.
acc = acc | (arr[i]) = single-line statement that updates `acc` from arr[i].
genealogy_id: classical_or_reduce
lineage_id: array_fold
license: public_domain
complexity: O(n) single pass
dependencies 2 imports · 1 importers
imports: nx_syscalls.nxnx_tier.nx
imported by: nx_or_all_test.nx
structs
| none |
consts
| none |
functions
| 21 | func nx_or_all(arr: *nx_int, n: nx_idx) -> nx_int called by 1: main |