broadcast: Broadcasted Array Operations Like 'NumPy'

Implements efficient 'NumPy'-like broadcasted operations for atomic and recursive arrays. Besides linking to 'Rcpp', 'broadcast' does not use any external libraries in any way; 'broadcast' was essentially made from scratch and can be installed out-of-the-box. The implementations available in 'broadcast' include, but are not limited to, the following. 1) Broadcasted element-wise operations on any 2 arrays; they support a large set of relational, arithmetic, Boolean, string, and bit-wise operations. 2) A faster, more memory efficient, and broadcasted abind-like function, for binding arrays along an arbitrary dimension. 3) Broadcasted ifelse-like, and apply-like functions. 4) Casting functions, that cast subset-groups of an array to a new dimension, cast nested lists to dimensional lists, and vice-versa. 5) A few linear algebra functions for statistics. The functions in the 'broadcast' package strive to minimize computation time and memory usage (which is not just good for efficient computing, but also for the environment).

Version: 0.1.3
Depends: R (≥ 4.2.0)
Imports: Rcpp (≥ 1.0.14), methods
LinkingTo: Rcpp
Suggests: tinytest, abind, roxygen2
Published: 2025-09-15
Author: Tony Wilkes ORCID iD [aut, cre, cph]
Maintainer: Tony Wilkes <tony_a_wilkes at outlook.com>
BugReports: https://github.com/tony-aw/broadcast/issues/
License: MPL-2.0
URL: https://github.com/tony-aw/broadcast, https://tony-aw.github.io/broadcast/
NeedsCompilation: yes
Language: en-gb
Materials: NEWS
CRAN checks: broadcast results

Documentation:

Reference manual: broadcast.html , broadcast.pdf

Downloads:

Package source: broadcast_0.1.3.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=broadcast to link to this page.