Gauss-Jacques Method

Version 1.0.4 (14.1 KB) by D. Cantón
Calculate of modular inverse matrices using Gauss-Jacques algorithm sized n x n for applications in numerical analysis.
43 Downloads
Updated 4 Jun 2019

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

Cite As

D. Cantón (2024). Gauss-Jacques Method (https://github.com/dCantonE/gauss-jacques), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Analyze Architecture Models in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.4

update summary

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.