asa314, a FORTRAN90 code which computes the inverse of a matrix whose elements are subject to modulo arithmetic, by Roger Payne.
The code is Applied Statistics Algorithm 314.
The computer code and data files described and made available on this web page are distributed under the MIT license
asa314 is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.