nx_and_all.nx
buildroot/runtime/nx_and_all.nx
about
nx_and_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. -1 = initial accumulator value.
acc = acc & arr[i] = single-line statement that updates `acc` from arr[i].
genealogy_id: classical_and_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_and_all_test.nx
structs
| none |
consts
| none |
functions
| 21 | func nx_and_all(arr: *nx_int, n: nx_idx) -> nx_int called by 1: main |