Modular Matrix Inverse in Zn
Residue Matrices
Cryptography uses residue matrices: matrices in all elements are in Zn. All operations
on residue matrices are performed the same as for the integer matrices except that
the operations are done in modular arithmetic. One interesting result is that a residue
matrix has a multiplicative inverse if the determinant of the matrix has a multiplicative
inverse in Zn. In other words, a residue matrix has a multiplicative inverse if gcd
(det(A), n) = 1.
Citation pour cette source
Ali Broumandnia (2024). Modular Matrix Inverse in Zn (https://www.mathworks.com/matlabcentral/fileexchange/64813-modular-matrix-inverse-in-zn), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Mathematics > Linear Algebra >
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.
ModularMatrixInverse/
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 | Update gcd function |