Python C extension to compute the permanent.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

279B

Compute the Permanent

Implements Ryser's algorithm for the permanent Should install with

$ pip install permanent

Then

>>> from numpy import *
>>> from permanent import permanent
>>> permanent(eye(15))
(1-0j)