Matrix Inversion with Modulo Arithmetic

ASA314, a C library which computes the inverse of a matrix whose elements are subject to modulo arithmetic, by Roger Payne.

ASA314 is Applied Statistics Algorithm 314.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.


ASA314 is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:



  1. Roger Payne,
    Inversion of matrices with contents subject to modulo arithmetic,
    Applied Statistics,
    Volume 46, Number 2, 1997, pages 295-298.

Source Code:

Last revised on 31 May 2019.