GNU Scientific Libraries

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:

1.BLAS Support

2.Vector/Matrix Operations

3.LU Decomposition/Inverse

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>

 
Back to top
courses/fall2011/598g/labs/week9.txt · Last modified: 2011/10/24 01:33 by avarmaan
 
 
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0