Python C extension to compute the permanent.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 279B

9 years ago
12345678910111213
  1. # Compute the Permanent
  2. Implements Ryser's algorithm for the [permanent](https://en.wikipedia.org/wiki/Permanent)
  3. Should install with
  4. ```bash
  5. $ pip install permanent
  6. ```
  7. Then
  8. ```python
  9. >>> from numpy import *
  10. >>> from permanent import permanent
  11. >>> permanent(eye(15))
  12. (1-0j)
  13. ```