Python interface to matroid database
Project description
This database was retrieved from <https://www-imai.is.s.u-tokyo.ac.jp/~ymatsu/matroid/index.html> (Yoshitake Matsumoto, Database of Matroids, 2012; accessed: 2023.12.02).
Usage:
>>> from matroid_database import all_matroids_revlex >>> for m in all_matroids_revlex(5, 2): ... print(m) ********** 0********* 0****0**** 00*0**0*** 000******* 000******0 0000**0*** 0000**0**0 00000*00** 000000**** 0000000*** 00000000** 000000000*>>> from matroid_database import unorientable_matroids_revlex >>> for m in unorientable_matroids_revlex(8, 3): ... print(m) 0******0******0**********0********0*******0****0**0***** 0******0******0***0******0*0**0************************* 0000************0**********0****0**********0**0***0*****>>> from matroid_database import all_matroids_bases >>> for m in all_matroids_bases(4, 2): ... print(m) [(0, 1), (0, 2), (1, 2), (0, 3), (1, 3), (2, 3)] [(0, 2), (1, 2), (0, 3), (1, 3), (2, 3)] [(0, 2), (1, 2), (0, 3), (1, 3)] [(1, 2), (1, 3), (2, 3)] [(0, 3), (1, 3), (2, 3)] [(1, 3), (2, 3)] [(2, 3)]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
matroid-database-0.2.tar.gz
(733.9 kB
view hashes)
Built Distribution
matroid_database-0.2-py3-none-any.whl
(740.4 kB
view hashes)
Close
Hashes for matroid_database-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c82e58ee8fec8d94263b981c4397bb0df8f489cdfbd37b399ea5a01b9c12c099 |
|
MD5 | e5d667282b7926a2fd268d14f9414214 |
|
BLAKE2b-256 | f1d6a2aa366dfbf7acdea71bb5b57eeb97f5afad9b16765e798f0c33f7424dd6 |