- A library of linear algebra routines

Basic Linear Algebra Subroutines Level 2 (BLAS 2) are a part of the Compaq Extended Math Library (CXML). These subprograms perform operations of a higher granularity than BLAS Level 1 subprograms. These include matrix- vector operations:•Matrix-vector products•Rank-one update•Rank-two update•Solution of triangular equations Where appropriate, the operations are performed on matrices that are:•General•Symmetric•Triangular•General band•Symmetric band•Triangular band•Symmetric, stored in a packed form•Triangular, stored in a packed form The following routines are included in BLAS 2. The Subprogram Name is the name of the manual page containing documentation on the subprogram. Subprogram Name Operation sgbmv Calculates, in single-precision arithmetic, a matrix-vector product for either a real general band matrix or its transpose. dgbmv Calculates, in double-precision arithmetic, a matrix-vector product for either a real general band matrix or its transpose. cgbmv Calculates, in single-precision arithmetic, a matrix-vector product for either a complex general band matrix, its transpose, or its conjugate transpose. zgbmv Calculates, in double-precision arithmetic, a matrix-vector product for either a complex general band matrix, its transpose, or its conjugate transpose. sgemv Calculates, in single-precision arithmetic, a matrix-vector product for either a real general matrix or its transpose. dgemv Calculates, in double-precision arithmetic, a matrix-vector product for either a real general matrix or its transpose. cgemv Calculates, in single-precision arithmetic, a matrix-vector product for either a complex general matrix, its transpose, or its conjugate transpose. zgemv Calculates, in double-precision arithmetic, a matrix-vector product for either a complex general matrix, its transpose, or its conjugate transpose. sger Calculates, in single-precision arithmetic, a rank-one update of a real general matrix. dger Calculates, in double-precision arithmetic, a rank-one update of a real general matrix. cgerc Calculates, in single-precision arithmetic, a rank-one conjugated update of a complex general matrix. zgerc Calculates, in double-precision arithmetic, a rank-one conjugated update of a complex general matrix. cgeru Calculates, in single-precision arithmetic, a rank-one unconjugated update of a complex general matrix. zgeru Calculates, in double-precision arithmetic, a rank-one unconjugated update of a complex general matrix. ssbmv Calculates, in single-precision arithmetic, a matrix-vector product for a real symmetric band matrix. dsbmv Calculates, in double-precision arithmetic, a matrix-vector product for a real symmetric band matrix. chbmv Calculates, in single-precision arithmetic, a matrix-vector product for a complex Hermitian band matrix. zhbmv Calculates, in double-precision arithmetic, a matrix-vector product for a complex Hermitian band matrix. sspmv Calculates, in single-precision arithmetic, a matrix-vector product for a real symmetric matrix stored in packed form. dspmv Calculates, in double-precision arithmetic, a matrix-vector product for a real symmetric matrix stored in packed form. chpmv Calculates, in single-precision arithmetic, a matrix-vector product for a complex Hermitian matrix stored in packed form. zhpmv Calculates, in double-precision arithmetic, a matrix-vector product for a complex Hermitian matrix stored in packed form. sspr Calculates, in single-precision arithmetic, a rank-one update of a real symmetric matrix stored in packed form. dspr Calculates, in double-precision arithmetic, a rank-one update of a real symmetric matrix stored in packed form. chpr Calculates, in single-precision arithmetic, a rank-one update of a complex Hermitian matrix stored in packed form. zhpr Calculates, in double-precision arithmetic, a rank-one update of a complex Hermitian matrix stored in packed form. sspr2 Calculates, in single-precision arithmetic, a rank-two update of a real symmetric matrix stored in packed form. dspr2 Calculates, in double-precision arithmetic, a rank-two update of a real symmetric matrix stored in packed form. chpr2 Calculates, in single-precision arithmetic, a rank-two update of a complex Hermitian matrix stored in packed form. zhpr2 Calculates, in double-precision arithmetic, a rank-two update of a complex Hermitian matrix stored in packed form. ssymv Calculates, in single-precision arithmetic, a matrix-vector product for a real symmetric matrix. dsymv Calculates, in double-precision arithmetic, a matrix-vector product for a real symmetric matrix. chemv Calculates, in single-precision arithmetic, a matrix-vector product for a complex Hermitian matrix. zhemv Calculates, in double-precision arithmetic, a matrix-vector product for a complex Hermitian matrix. ssyr Calculates, in single-precision arithmetic, a rank-one update of a real symmetric matrix. dsyr Calculates, in double-precision arithmetic, a rank-one update of a real symmetric matrix. cher Calculates, in single-precision arithmetic, a rank-one update of a complex Hermitian matrix. zher Calculates, in double-precision arithmetic, a rank-one update of a complex Hermitian matrix. ssyr2 Calculates, in single-precision arithmetic, a rank-two update of a real symmetric matrix. dsyr2 Calculates, in double-precision arithmetic, a rank-two update of a real symmetric matrix. cher2 Calculates, in single-precision arithmetic, a rank-two update of a complex Hermitian matrix. zher2 Calculates, in double-precision arithmetic, a rank-two update of a complex Hermitian matrix. stbmv Calculates, in single-precision arithmetic, a matrix-vector product for either a real triangular band matrix or its transpose. dtbmv Calculates, in double-precision arithmetic, a matrix-vector product for either a real triangular band matrix or its transpose. ctbmv Calculates, in single-precision arithmetic, a matrix-vector product for a complex triangular band matrix, its transpose, or its conjugate transpose. ztbmv Calculates, in double-precision arithmetic, a matrix-vector product for a complex triangular band matrix, its transpose, or its conjugate transpose. stbsv Solves, in single-precision arithmetic, a system of linear equations where the coefficient matrix is a real triangular band matrix. dtbsv Solves, in double-precision arithmetic, a system of linear equations where the coefficient matrix is a real triangular band matrix. ctbsv Solves, in single-precision arithmetic, a system of linear equations where the coefficient matrix is a complex triangular band matrix. ztbsv Solves, in double-precision arithmetic, a system of linear equations where the coefficient matrix is a complex triangular band matrix. stpmv Calculates, in single-precision arithmetic, a matrix-vector product for either a real triangular matrix stored in packed form or its transpose. dtpmv Calculates, in double-precision arithmetic, a matrix-vector product for either a real triangular matrix stored in packed form or its transpose. ctpmv Calculates, in single-precision arithmetic, a matrix-vector product for a complex triangular matrix stored in packed form, its transpose, or its conjugate transpose. ztpmv Calculates, in double-precision arithmetic, a matrix-vector product for a complex triangular matrix stored in packed form, its transpose, or its conjugate transpose. stpsv Solves, in single-precision arithmetic, a system of linear equations where the coefficient matrix is a real triangular matrix stored in packed form. dtpsv Solves, in double-precision arithmetic, a system of linear equations where the coefficient matrix is a real triangular matrix stored in packed form. ctpsv Solves, in single-precision arithmetic, a system of linear equations where the coefficient matrix is a complex triangular matrix stored in packed form. ztpsv Solves, in double-precision arithmetic, a system of linear equations where the coefficient matrix is a complex triangular matrix stored in packed form. strmv Calculates, in single-precision arithmetic, a matrix-vector product for either a real triangular matrix or its transpose. dtrmv Calculates, in double-precision arithmetic, a matrix-vector product for either a real triangular matrix or its transpose. ctrmv Calculates, in single-precision arithmetic, a matrix-vector product for a complex triangular matrix, its transpose, or its conjugate transpose. ztrmv Calculates, in double-precision arithmetic, a matrix-vector product for a complex triangular matrix, its transpose, or its conjugate transpose. strsv Solves, in single-precision arithmetic, a system of linear equations where the coefficient matrix is a real triangular matrix. dtrsv Solves, in double-precision arithmetic, a system of linear equations where the coefficient matrix is a real triangular matrix. ctrsv Solves, in single-precision arithmetic, a system of linear equations where the coefficient matrix is a complex triangular matrix. ztrsv Solves, in double-precision arithmetic, a system of linear equations where the coefficient matrix is a complex triangular matrix.