Python C extension to compute the permanent.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

7 lat temu
1234567891011121314
  1. # permanent
  2. Implements Ryser's algorithm for the [permanent](https://en.wikipedia.org/wiki/Permanent).
  3. Install:
  4. ```bash
  5. $ pip install permanent
  6. ```
  7. Use:
  8. ```python
  9. >>> from numpy import *
  10. >>> from permanent import permanent
  11. >>> permanent(eye(15, dtype=complex))
  12. (1-0j)
  13. ```