Sparse arrays in R: the spray package
Symbolic Computation
2022-10-21 v1
Abstract
In this short article I introduce the spray package, which provides some functionality for handling sparse arrays. The package uses the C++ Standard Template Library's map class to store and retrieve elements. One natural application for sparse arrays is multivariate polynomials and I give two examples of the package in use, one drawn from the fields of random walks on lattices and one from the field of recreational combinatorics. The package is available on CRAN at https://CRAN.R-project.org/package=spray.
Cite
@article{arxiv.2210.10848,
title = {Sparse arrays in R: the spray package},
author = {Robin K. S. Hankin},
journal= {arXiv preprint arXiv:2210.10848},
year = {2022}
}
Comments
11 pages