-
The free Abelian group in R: the frab package
Abstract: In this short article I introduce the frab package which provides an alternative interpretation of named vectors in the R programming language; it is available on CRAN. The underlying mathematical object is the free Abelian group.
Submitted 24 July, 2023; originally announced July 2023.
Comments: 9 pages
MSC Class: 08.04 ACM Class: G.4
-
Jordan algebra in R
Abstract: In this short article I introduce the "jordan" package which provides functionality for working with different types of Jordan algebra. I give some numerical verification of the Jordan identity for the five types of Jordan algebras. The package is available on CRAN at https://CRAN.R-project.org/package=stokes.
Submitted 20 February, 2023; originally announced March 2023.
Comments: 12 pages
-
Quantum algebra in R: the weyl package
Abstract: Weyl algebra is a simple noncommutative system used in quantum mechanics. Here I introduce the weyl package, written in the R computing language, which furnishes functionality for working with univariate and multivariate Weyl algebras. The package is available on CRAN at https://CRAN.R-project.org/package=weyl.
Submitted 18 December, 2022; originally announced December 2022.
Comments: 8 pages
-
The free group in R
Abstract: Here I present the freegroup package for working with the free group on a finite set of symbols. The package is vectorised; internally it uses an efficient matrix-based representation for free group objects but uses a configurable print method. A range of R-centric functionality is provided. It is available on CRAN at https://CRAN.R-project.org/package=freegroup.
Submitted 14 November, 2022; originally announced December 2022.
Comments: 5 pages
-
The free algebra in R
Abstract: The free algebra is an interesting and useful algebraic object. Here I introduce "freealg", an R package which furnishes computational support for free algebras. The package uses the standard template library's "map" class for efficiency, which uses the fact that the order of the terms is algebraically immaterial. The package follows "disordR" discipline. I demonstrate some properties of free alge… ▽ More
Submitted 7 November, 2022; originally announced November 2022.
Comments: 5 pages
-
Stokes's theorem in R
Abstract: In this short article I introduce the stokes package which provides functionality for working with tensors, alternating forms, wedge products, and related concepts from the exterior calculus. Notation and spirit follow Spivak. Stokes's generalized integral theorem, viz $\int_{\partial X}φ=\int_Xdφ$, is demonstrated here using the package; it is available on CRAN athttps://CRAN.R-project.org/packag… ▽ More
Submitted 30 October, 2022; originally announced October 2022.
Comments: 18 pages
-
Fast multivariate polynomials in R: the mvp package
Abstract: In this short article I introduce the mvp package, which provides some functionality for handling multivariate polynomials. The package uses the C++ Standard Template Library's map class to store and retrieve elements; it conforms to disordR discipline for coefficients. The package is available on CRAN at https://CRAN.R-project.org/package=mvp.
Submitted 28 October, 2022; originally announced October 2022.
Comments: 11 pages
-
Sparse arrays in R: the spray package
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 fi… ▽ More
Submitted 19 October, 2022; originally announced October 2022.
Comments: 11 pages
-
Disordered vectors in R: introducing the disordR package
Abstract: Objects in the {\tt stl map} class of {\tt C++} associate a value to each of a set of keys. Accessing values or keys of such an object is problematic in the R programming language because the value-key pairs are not stored in a well-defined order. This document motivates and discusses the concept of "disordered vector" as implemented by the {\tt disordR} package which facilitates the handling of {… ▽ More
Submitted 16 October, 2022; v1 submitted 7 October, 2022; originally announced October 2022.
Comments: 8 pages
MSC Class: 68V99 ACM Class: I.1.m
-
Clifford algebra in R
Abstract: Here I present the 'clifford' package for working with Clifford algebras in the R programming language. The algebra is described and package idiom is given.
Submitted 5 November, 2022; v1 submitted 27 September, 2022; originally announced September 2022.
Comments: 8 pages