Skip to content
 
 

Latest commit

 

History

70 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

permanentbis

This is a fork of package permanent. First, the fork fixes pointer arithmetics in the C module of this package. Without this fix, compiling the module for Windows is impossible due to (defensive) compiler's errors. Second, the fork uses numpy >= 2.0.0, which introduces an incompatible to previous versions ways of handling complex numbers in the C interface.

A suggested fix has been proposed as pull request, and was recently accepted (to a bit too big extent). The main intention of this fork is to provide a multiarchitecture packaged distribution on PyPi and to support numpy 2.x.x.

The remaining part of the readme just repeats the original pacakge description.

Original description of permanent

Implements Ryser's algorithm for the permanent.

Install:

$ pip install permanentbis

Use:

>>> from numpy import *
>>> from permanentbis import permanent
>>> permanent(eye(15, dtype=complex))
(1-0j)

About

C extension for Python, calculates the permanent

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages