permanent
Implements Ryser's algorithm for the permanent.
Install:
$ pip install permanentUse:
>>> from numpy import *
>>> from permanent import permanent
>>> permanent(eye(15, dtype=complex))
(1-0j)Calculates the permanent of a Numpy matrix
pip install permanent==0.1.5
Implements Ryser's algorithm for the permanent.
Install:
$ pip install permanentUse:
>>> from numpy import *
>>> from permanent import permanent
>>> permanent(eye(15, dtype=complex))
(1-0j)