You will find several simple examples of programs to get you started with the BLAS and LAPACK APIs commonly used for scientific programming tasks. The makefile is here.
BLAS
- blas1C.c blas1F.f
- Simple examples of some of the level 1 BLAS functions
- blas2C.c blas2F.f
- Simple examples of some of the level 2 BLAS functions.
- blas2bC.c
- This is the same as blas2C.c, but uses Fortran-style column major order.
- blas3C.c blas3F.f
- Simple examples of some of the level 3 BLAS functions (with row/column order options in the CBLAS).
LAPACK
- slvSysC.c slvSysF.f
- Solving a simple linear system.
- triSlvF.f
- Solving a triangular linear system.
- symEig.f
- Finding the eigenvalues of a symmetric matrix.