Skip to content

ManuelHentschel/implicitExpansion

Repository files navigation

Implicit Expansion

This package implements a feature known as "Broadcasting" in Python (see e.g. here) and as "Implicit Expansion" in Matlab (see e.g. here). In operations involving multiple arguments of type array (or vector, matrix, list) with mismatching dimensions, any argument is repeated along its dimensions of size (exactly) 1, as often as necessary to match the other argument(s). See also rray.

To install the CRAN version, run:

install.packages('implicitExpansion')

To install the latest development version, run:

remotes::install_github('ManuelHentschel/implicitExpansion')