This code uses Gaussian-Jordan Elimination to calculate the inverse of a matrix in C.
It implements the algorithm following the procedure decribed in this Purdue slides: (https://www.math.purdue.edu/~shao92/documents/Algorithm%20REF.pdf)
Use this link to the webcache of the original page if the link above does not work: (https://webcache.googleusercontent.com/search?q=cache:bSF6rU47H_gJ:https://www.math.purdue.edu/~shao92/documents/Algorithm%2520REF.pdf+&cd=1&hl=zh-CN&ct=clnk&gl=us)
Corrections or issues are always welcomed! :)