code wiki / sum
topic: sum
12 modules sharing the sum name family (derived from the tree's prefix discipline).
The 'sum' topic family in the Nishi sovereign ecosystem focuses on various summation operations across arrays and scalars. Modules like nx_sum_all handle auto-generated array accumulation, while nx_sum_bench provides scalar sum benchmarks for cross-language comparison. nx_sum_squares_test ensures correctness of square summation logic, reflecting the modular, binary-per-organ design of the ecosystem.
auto-narrated by the local model from this topic's module headers; links verified against the wiki index.
narrated overview -- maintained by the narration lane, module links verified against this wiki.
| module | description | lines | funcs |
|---|---|---|---|
| nx_sum_all.nx | AUTO-GENERATED from shape `accumulator_over_array`. | 29 | 1 |
| nx_sum_all_test.nx | 16 | 1 | |
| nx_sum_bench.nx | NishiLang scalar sum bench for cross-language | 59 | 2 |
| nx_sum_bench_all.nx | comprehensive sum-of-N-i64 bench across | 119 | 4 |
| nx_sum_first_n.nx | AUTO-GENERATED from shape `scalar_accumulator_n`. | 30 | 1 |
| nx_sum_first_n_test.nx | 9 | 1 | |
| nx_sum_pairwise_max.nx | AUTO-GENERATED from shape `array_accumulate_pair`. | 31 | 1 |
| nx_sum_pairwise_max_test.nx | 20 | 1 | |
| nx_sum_squares.nx | AUTO-GENERATED from shape `scalar_pair_op`. | 23 | 1 |
| nx_sum_squares_first_n.nx | AUTO-GENERATED from shape `scalar_accumulator_n`. | 30 | 1 |
| nx_sum_squares_first_n_test.nx | 9 | 1 | |
| nx_sum_squares_test.nx | AUTO-GENERATED test from shape `scalar_pair_op`. | 10 | 1 |