BLAS3_D is a MATLAB library which implements the Level 3 Basic Linear Algebra Subprograms (BLAS) for matrix-matrix operations, using double precision real arithmetic.
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 3 BLAS are primarily for use in matrix-matrix operations, such as matrix multiplication. In certain cases, they may also be used to operate on the rows or columns of a two-dimensional array.
The Level 3 BLAS were originally written in FORTRAN77. This version of the library only contains a subset of the BLAS3 library (at the moment, mainly just DGEMM). Arrays are stored according to the FORTRAN convention. Thus, an M by N mathematical array might be stored in a double precision FORTRAN array called "A" that is declared as
double precision a(lda,sda)where LDA is the "leading" dimension and SDA is the "second" dimension. It is natural for LDA to equal M, but it is only necessary that M <= LDA. The matrix is stored as a vector of concatenated column vectors, and the dimension statement is used to determine that columns should be LDA units long. Thus, a typical entry A(I,J) of the mathematical matrix is actually stored in the location FORTRAN vector location I+(J-1)*LDA. Of course, in C, this location would be I-1+(J-1)*LDA.
The computer code and data files made available on this web page are distributed under the GNU LGPL license.
BLAS3_D is available in a C version and a C++ 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.