Skip to content

Extend Axis with singleton dimensions and replace ⊖ with ⌽₀ - #147

Merged
jph00 merged 1 commit into
mainfrom
pr/extend-axis-with-singleton-dimensions-and-replace
Nov 12, 2026
Merged

jph00 merged 1 commit into
mainfrom
pr/extend-axis-with-singleton-dimensions-and-replace

Conversation

@jph00

@jph00 jph00 commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Axis now adds trailing singleton view dimensions when a nonnegative axis lies beyond the data's rank. Catenate, replicate, take, folds and ordinary functions share this behavior. Negative axes keep selecting existing axes, and control arguments and Mix retain their meanings. First-axis reversal and rotation use ⌽₀ instead of the removed ⊖ primitive. Keyboard tables, editor support, libraries and examples follow the new spelling.

This also fixes reverse-mode differentiation through replicated reads whose walk axes differ from their logical result axes. See Axis, Reverse / Rotate, and llms.txt.

@jph00 jph00 added the enhancement New feature or request label Nov 12, 2026
@jph00
jph00 merged commit edaa4bb into main Nov 12, 2026
@jph00
jph00 deleted the pr/extend-axis-with-singleton-dimensions-and-replace branch November 12, 2026 10:49
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