BLAS1 is a C library which implements the Level 1 Basic Linear Algebra Subprograms (BLAS).
The BLAS are a small core library of linear algebra utilities, which can be highly optimized for various architectures. Software that relies on the BLAS is thus highly portable, and will typically run very efficiently.
The Level 1 BLAS are primarily for use in vector operations, such as vector norms, dot products, vector scaling, and the addition of a scalar multiple of one vector to another.
While the entries of a typical vector are stored continguously in memory, many BLAS1 routines allow the user to specify a vector by locating its first element, and giving an increment to be used to locate the successive elements. An increment of +1 corresponds to the typical vector; however, by specifying other increments, a "logical" vector can be selected that is actually a row, column, or even a diagonal of a two-dimensional array.
The Level 1 BLAS are available in both real and complex arithmetic versions, and using single precision or double precision. In most cases, a given BLAS function has a root name, such as AXPY, and prefix is used to identify the arithmetic and precision. Thus,
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
BLAS1 is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.
BLAS0, a C library which contains auxilliary functions for the Basic Linear Algebra Subprograms (BLAS).
BLAS1_C, a C library which contains basic linear algebra routines for vector-vector operations, using single precision complex arithmetic;
BLAS1_D, a C library which contains basic linear algebra routines for vector-vector operations, using double precision real arithmetic;
BLAS1_S, a C library which contains basic linear algebra routines for vector-vector operations, using single precision real arithmetic;
BLAS1_Z, a C library which contains basic linear algebra routines for vector-vector operations, using double precision complex arithmetic;
BLAS2, a C library which contains basic linear algebra subprograms (BLAS) for matrix-vector operations;
BLAS3, a C library which contains basic linear algebra subprograms (BLAS) for matrix-matrix operations;
LINPACK, a C library which is a linear algebra package that uses the BLAS1 routines.
Original FORTRAN77 version by Charles Lawson, Richard Hanson, David Kincaid, Fred Krogh. C version by John Burkardt.
You can go up one level to the C source codes.