NonCommutative Formal Power Series (NCFPS) is a Mathematica-based package for working with formal power series over noncommutative variables. It implements basic algebraic operations like the concatenation product and the shuffle product, as well as special purpose operations used in nonlinear control theory.
Descriptions and interactive examples of the included functions are available in the attached documentation notebook. Examples to get started using the package are also available in the examples folder.
This repository is structured to allow the paclet to be fetched directly from Mathematica. This makes updating to new package versions more convenient when compared to the method given below of installing from a file.
First, register the repository as a paclet site in Mathematica.
PacletSiteRegister["https://raw.githubusercontent.com/LBerlin/NCFPS-MMA/main"]
PacletSiteUpdate[PacletSites[]]
Then Mathematica should be able to find the latest version of the package available on this repository and install it.
PacletInstall["NCFPS"]
Now it should be possible to load in NCFPS, even after restarting Mathematica.
<<NCFPS`
Start by downloading the paclet file from the latest release. Note the path where the file is saved.
Launch Mathematica and install the paclet using the file path.
PacletInstall["C:\\Users\\Alice\\Downloads\\NCFPS-0.1.0.paclet"]
Now it should be possible to load in NCFPS, even after restarting Mathematica.
<<NCFPS`
No problem! Visit our Wiki page to see how you can get started with NCFPS without a Mathematica installation.
If the the repository has been added to your Mathematica as a paclet site as described in the Installation section, then it is possible to update to newer version directly from a notebook. First, check for updates to the paclet site.
PacletSiteUpdate[PacletSites[]]
If a newer version is available, Mathematica will grab it.
PacletInstall["NCFPS"]
It is recommended at this point to uninstall any older versions of the package.
PacletUninstall[Drop[PacletFind["NCFPS"], 1]]
You can check the current installed version of the package with PacletFind
.
PacletFind["NCFPS"]
If the latest release is more recent than the installed version, then download and install the newer paclet file.
PacletInstall["C:\\Users\\Alice\\Downloads\\NCFPS-0.1.0.paclet"]
It is recommended at this point to uninstall any older versions of the package.
PacletUninstall[Drop[PacletFind["NCFPS"], 1]]
For any problems/bugs/issues/concerns please open an issue in the Issues tab above.
- An in-depth primer on this package's mathematic topics is available at http://www.ece.odu.edu/~sgray/fps-book/.
Development of this package was supported in part by the National Science Foundation under grants CMMI-1839378 and CMMI-1839387.
This package makes use of functionality from the excellent NCAlgebra package. If your noncommutative algebra needs extend beyond formal power series, we highly recommend taking a look at NCAlgebra.