The best known librarys for linear algebra calculations is LAPACK (Linear Algebra PACKage). LAPACK uses the Basic Linear Algebra Subroutines (BLAS).