GNU Scientific Library (GSL) is a software library in C that is used for various mathematical and scientific operations.We will be using this today for matrix operations.
Download the file shermanmorisson1.c .This implements the Sherman-Morrison formula.Let us go through the code and try to understand the implementation of matrix operations through GS Libraries.
Here are a few pages that you will find useful:
Tips for compiling: Compile using the command- gcc <filename.c> -lgsl -lgslcblas -o <compiled file name>.
Tips for cleaning up: Remove the file using the command- rm -f <compiled file name>