This package contains an oriented matroid implementation for sagemath.
The current version is 0.1.1 and is compatible/has been tested with sagemath 10.0, 10.1 and 10.2. It is in beta and is open for testing from others.
NOTE: This package will be integrating into SageMath directly. If you see any errors while using this please, open an issue and let us know so we can correct it.
Use pip
to install the package:
$ sage -pip install oriented-matroids
Download the source from the git repository:
$ git clone https://github.com/thecaligarmo/oriented_matroids.git
Change to the root directory and run:
$ sage -pip install .
For convenience this package contains a makefile with this and other often used commands. The make file needs updating to your sage installation directory before running.
$ make install
- If you get "SSL" errors, try the fixes found on: ask sagemath
- If
make
didn't work, make sure you updated where your sage directory is in the make file.
After install, you can start sage and run the following command to have all methods available:
from oriented_matroids import *
To uninstall the package you can run the following command
$ sage -pip uninstall oriented_matroids
Alternatively, if you installed locally and want to uninstall using make
, you can run:
$ make uninstall
To make the documentation, you can use make
:
The make file needs updating to your sage installation directory before running.
$ make doc
To refresh the doc, I would recommend first cleaning it using make clean
before running make doc
again, just in case.