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 algebra using the package, and showcase package idiom. The package is available on CRAN at https://CRAN.R-project.org/package=freealg.
翻译:免费代数是一个有趣和有用的代数对象。 在这里, 我引入了“ freealg ” R 软件包, 它为免费代数提供计算支持。 软件包使用标准模板库的“ 映射” 类来提高效率, 该软件库使用标准模板库的“ 映射” 类来提高效率, 它使用术语的顺序是代数非物质性的。 软件包遵循“ disordR” 纪律。 我用软件包演示了免费代数的一些属性, 并展示了软件包 idom 。 该软件包可以在 CRAN 上查阅 https:// CRAN. R- project. org/ package=freealg 。