Gauss-Jacques Method
Gauss-Jacques algorithm gets the modular inverse of a matrix. This algorithm does not use neither determinants nor the adjoint matrix and is very useful for matrices of any size.
Example:
n = 10; % size of the matrix
K = randi(100,n,n); % generate a randon matrix with size 'n'
m = 89; % the module must be a prime number
[InvMod, I] = gauss_jacques(K, m);
References:
https://www.uaq.mx/investigacion/revista_ciencia@uaq/ArchivosPDF/v11-n1/art14_numerada-VF.pdf
https://savannah.gnu.org/patch/?9691
https://www.npmjs.com/package/gauss-jacques
Citation pour cette source
D. Cantón (2024). Gauss-Jacques Method (https://github.com/dCantonE/gauss-jacques), GitHub. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.4 | update summary |
|