Matrix Permanent using Nijenhuis-Wilf in CMEX.

Computes the permanent of a square matrix rather fast.
114 descargas
Actualizado 5 Nov 2015

Ver licencia

Computes the permanent of a square matrix using the Nijenhuis-Wilf algorithm. This implementation is in CMEX (C language for MATLAB) and is about 400x faster than the implementation of the Ryser algorithm by L. Winslow in the MATLAB language. Additionally, this algorithm appears to be orders of magnitude more precise than the Ryser algorithm in our testing.

Citar como

Brian Butler (2024). Matrix Permanent using Nijenhuis-Wilf in CMEX. (https://www.mathworks.com/matlabcentral/fileexchange/53784-matrix-permanent-using-nijenhuis-wilf-in-cmex), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2015b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Linear Algebra en Help Center y MATLAB Answers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.1.0.0

* Added MATLAB language version of the function for reference as requested. It supports complex entries.
* Small changes to error messages.

1.0.0.0

Added image.