Math Examples of how to use some mathematical libraries. Contents GSL: examples for the Gnu Scientific Library. Lapack: examples for the Linear Algebra Package, as well as BLAS (Basic Linear Algebra Subsystem). PETSc: examples for the PETSc library.