MATLAB: How to solve a linear system modulo m

Does anyone know what functions are available for solving linear systems when the equations are actually congruences mod m ? The desire is to solve a linear system (Ax = b) for x values ​​in which "Ax is comparable to b"

A discussion of how to perform a Gaussian elimination in this situation can be found here , but I was hoping to use MATLAB rather than trying to do it manually.

+4
source share

Source: https://habr.com/ru/post/1445455/


All Articles