Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manuelhentschel/implicitexpansion
R implementation of Broadcasting/Implicit Expansion
https://github.com/manuelhentschel/implicitexpansion
Last synced: 8 days ago
JSON representation
R implementation of Broadcasting/Implicit Expansion
- Host: GitHub
- URL: https://github.com/manuelhentschel/implicitexpansion
- Owner: ManuelHentschel
- License: other
- Created: 2022-08-28T06:25:47.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-03T07:24:04.000Z (over 2 years ago)
- Last Synced: 2024-12-17T03:25:01.595Z (about 1 month ago)
- Language: R
- Homepage: https://manuelhentschel.github.io/implicitExpansion
- Size: 131 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Implicit Expansion
This package implements a feature known as "Broadcasting" in Python
(see e.g. [here](https://numpy.org/doc/stable/user/basics.broadcasting.html))
and as "Implicit Expansion" in Matlab
(see e.g. [here](https://ch.mathworks.com/help/matlab/matlab_prog/compatible-array-sizes-for-basic-operations.html)).
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](https://github.com/r-lib/rray).To install the [CRAN version](https://CRAN.R-project.org/package=implicitExpansion), run:
```r
install.packages('implicitExpansion')
```
To install the latest [development version](https://github.com/ManuelHentschel/implicitExpansion), run:
```r
remotes::install_github('ManuelHentschel/implicitExpansion')
```