Skip to content

Unify numerical kernels and mapped-array execution - #56

Merged
jph00 merged 21 commits into
mainfrom
pr/unify-numerical-kernels-and-mapped-array
Nov 7, 2026
Merged

jph00 merged 21 commits into
mainfrom
pr/unify-numerical-kernels-and-mapped-array

Conversation

@jph00

@jph00 jph00 commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Replace per-form dispatch tables with shared Formula and Kernel interfaces for numerical formulas, kind/domain rules, validity and repair, and derivatives. Use these interfaces across scalar and array operations, folds, scans, contractions and indexed updates.

Keep indexed and padded selections as shared views and route Python operations through the array core. Boolean selectors denote positions, missing-key reads use fill, keyed writes can extend axes, integer casts floor and saturate, and integer matrix products wrap. Execution reports expose structured records.

Use ChaCha8 counter streams for sampling and improve negative-power accuracy. Separate timing suites from correctness tests, remove performance checks from CI, and update optimized build profiles.

jph00 added 21 commits November 2, 2026 19:23
…ased ChaCha RNG streams, lazy array views and repeated-key assignment
…tion total dtype; add reduced_power_slope and real_power/power_slope Ops
…types, ranges, partials and folds; skip native products for kind policies
Formula is the one home for element-wise arithmetic; key rules, Bitwise and slow events live here for BPL and Python alike. All tests pass.
Restore released complex and power/root algorithms through NativeSlices, retain constant shortcuts, and validate their public kernels against the accuracy corpus. Share structured write and fold geometry and Boolean scan packing. Calibrate x86 timing targets against released builds and document the accuracy exceptions in nbs/accuracy.qmd.
@jph00 jph00 added the enhancement New feature or request label Nov 7, 2026
@jph00
jph00 merged commit 9c7c762 into main Nov 7, 2026
1 check failed
@jph00
jph00 deleted the pr/unify-numerical-kernels-and-mapped-array branch November 7, 2026 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant