code wiki / (root) / nx_or_all.nx

nx_or_all.nx

buildroot/runtime/nx_or_all.nx

900 B29 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind generated fixturetopic or
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_tier.nx nx_or_all.nx nx_or_all_test.nx

imports: nx_syscalls.nxnx_tier.nx

imported by: nx_or_all_test.nx

structs

none

consts

none

functions

21func nx_or_all(arr: *nx_int, n: nx_idx) -> nx_int
called by 1: main