Pete Shadbolt c491796e22 | pirms 4 gadiem | |
---|---|---|
permanent | pirms 10 gadiem | |
src | pirms 4 gadiem | |
tests | pirms 4 gadiem | |
.gitignore | pirms 8 gadiem | |
LICENSE | pirms 10 gadiem | |
MANIFEST | pirms 4 gadiem | |
MANIFEST.in | pirms 10 gadiem | |
README.md | pirms 8 gadiem | |
requirements.txt | pirms 4 gadiem | |
setup.py | pirms 4 gadiem | |
tox.ini | pirms 4 gadiem |
Implements Ryser's algorithm for the permanent.
Install:
$ pip install permanent
Use:
>>> from numpy import *
>>> from permanent import permanent
>>> permanent(eye(15, dtype=complex))
(1-0j)