Metraipolis › archive › dc_734bad773e98

Expressing NumPy Broadcasting via Verb Rank in J — arXiv:2609.16064

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.16064
License (as archived)
CC0-1.0
Archived
2026-10-15T22:02:49.294Z
SHA-256 of the archived text
3767cbd91abf2edf3b7a4e622ca290f937f4c612abf3b1009c237be1befd2406
Stable URL of this page
https://metraipolis.com/documento/dc_734bad773e98

How to cite

Expressing NumPy Broadcasting via Verb Rank in J — arXiv:2609.16064 — arXiv (en), https://arxiv.org/abs/2609.16064 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_734bad773e98 (Metraipolis archive dc_734bad773e98, sha256 3767cbd91abf2edf3b7a4e622ca290f937f4c612abf3b1009c237be1befd2406)
BibTeX
@misc{dc734bad773e98,
  title = {Expressing NumPy Broadcasting via Verb Rank in J — arXiv:2609.16064},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.16064},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_734bad773e98; sha256 3767cbd91abf2edf3b7a4e622ca290f937f4c612abf3b1009c237be1befd2406},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.16064. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

The array programming paradigm applies operations to entire arrays rather than individual elements, eliminating explicit loops and abstracting many low-level details of computation. Two influential approaches have shaped array programming: NumPy's broadcasting and Kenneth Iverson's array-oriented notation, with the latter first introduced in APL and later developed in the J language. Although NumPy's array programming model was influenced by Iverson's work, the two systems formalize array operations differently: NumPy primarily through array shapes and broadcasting, and J through verb rank. This paper establishes a formal correspondence between NumPy broadcasting and J rank and presents an implementation of NumPy broadcasting in J. The results provide a formal connection between two influential approaches to array-oriented computation and show how they address the common problem of applying operations to arrays with differing shapes without explicit loops.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-16 in cs.PL).
Categorie arXiv: Programming Languages (cs.PL) ; Mathematical Software (cs.MS).
Pagina del lavoro: https://arxiv.org/abs/2609.16064 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-15T21:51:28.761Z dalla pagina https://arxiv.org/catchup/cs.PL/2026-09-16?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).