summaryrefslogtreecommitdiff
path: root/networkx/algorithms/polynomials.py
Commit message (Collapse)AuthorAgeFilesLines
* Add characteristic polynomial example to polynomials docs (#5730)Lucas H. McCabe2022-06-141-0/+13
| | | | | | | * docs: Add characteristic polynomial example to polynomials docs * Update intersphinx link and minor rst formatting. Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* Chromatic polynomial (#5675)Lucas H. McCabe2022-06-091-2/+127
| | | Adds chromatic_polynomial function to the graph polynomials package.
* Use isort with pre-commit to enforce import guidelines (#5659)Mridul Seth2022-06-021-0/+1
| | | | | * Add isort to pre-commit * Run isort on all python files (except __init__.py ones)
* Add Tutte polynomial (#5265)Lucas H. McCabe2022-03-241-0/+164
Add a new polynomial module to algorithms for characteristic polynomials. Adds the Tutte polynomial, which is computed and ultimate represented as a sympy expression. Co-authored-by: Dan Schult <dschult@colgate.edu> Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>