BLAS1 is a MATLAB 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 FORTRAN77 version and a FORTRAN90 version and a MATLAB version.
BLAS0, a MATLAB library which contains auxilliary functions for the Basic Linear Algebra Subprograms (BLAS).
BLAS1_C, a MATLAB library which contains basic linear algebra routines for vector-vector operations, using single precision complex arithmetic;
BLAS1_D, a MATLAB library which contains basic linear algebra routines for vector-vector operations, using double precision real arithmetic;
BLAS1_S, a MATLAB library which contains basic linear algebra routines for vector-vector operations, using single precision real arithmetic;
BLAS1_Z, a MATLAB library which contains basic linear algebra routines for vector-vector operations, using double precision complex arithmetic;
BLAS2, a FORTRAN90 library which contains basic linear algebra routines for matrix-vector operations, using single or precision real or complex arithmetic;
BLAS3, a MATLAB library which contains basic linear algebra subprograms (BLAS) for matrix-matrix operations;
LAPACK_EXAMPLES, a FORTRAN90 program which demonstrates the use of the LAPACK linear algebra library.
LINPACK, a MATLAB library which is a linear algebra package that uses the BLAS1 routines.
Original FORTRAN77 version by Charles Lawson, Richard Hanson, David Kincaid, Fred Krogh. MATLAB version by John Burkardt.
You can go up one level to the MATLAB source codes.