A package originally made for working with external and internal activities of ordered matroids in Macaulay2, it is the companion code to the article Internally Perfect Matroids. It now includes a number of methods for working with unordered matroids.
Version 0.2 of
MatroidActivities greatly expands on Version 0.1. There are new methods for computing with both matroids and ordered matroids. The new functionality includes:
- Methods for constructing a(n ordered) matroid from an ideal, simplicial complex, or central arrangement;
- Methods for constructing the face ring, Chow ring, and Orlik-Solomon algebra of a matroid or ordered matroid;
- Testing if a matroid is simple, binary, ternary, (co)graphic, regular, or paving;
- TikZ rendering of the internal order and the external order split into two methods for improved visualization.
There are three resources for learning to use this package: the first two provided by the author and the third by the user.
Every method in the package is documented and an attempt was made to make this documentation reasonably thorough. You can access the documentation in Macaulay2 using the
Moreover, an introductory session is available as a guide to this package.
Finally, and probably most importantly, is the user's curiosity about, and need for, such software.
MatroidActivitiespackage builds on and extends J. Chen's Matroids package for M2. So for
MatroidActivitiesto work you will need to have
Matroidsinstalled. You can get the source code for that package here. Then simply add it to
/Macaulay2/codeand enter the following into any M2 interactive shell:
i1: installPackage "Matroids"
Finally add MatroidActivities.m2 to
/Macaulay2/codeand then run:
i2: installPackage "MatroidActivities"
i3: loadPackage "MatroidActivities"