asa314, a C code which computes the inverse of a matrix whose elements are subject to modulo arithmetic, by Roger Payne.
This is a version of Applied Statistics Algorithm 314.
The information on this web page is distributed under the MIT license.
asa314 is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version.