asa314
asa314,
a MATLAB 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.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Languages:
asa314 is available in
a C version and
a C++ version and
a FORTRAN90 version and
a MATLAB version.
Related Data and Programs:
asa314_test
Reference:

Roger Payne,
Inversion of matrices with contents subject to modulo arithmetic,
Applied Statistics,
Volume 46, Number 2, 1997, pages 295298.
Source Code:

i4mat_print.m,
prints an I4MAT.

i4mat_print_some.m,
prints some of an I4MAT.

invmod.m,
inverts a matrix using modulo arithmetic.

msort.m,
sorts matrix rows and columns in ascending order of moduli.

musort.m,
unsorts the inverse matrix rows and columns into the original order.
Last revised on 27 November 2018.