- A library of linear algebra routines

Basic Linear Algebra Subroutines Level 1 Sparse (BLAS 1S) are a part of the Compaq Extended Math Library. The BLAS1 subprograms perform low granularity operations on vectors that involve one or two vectors as input and return either a vector or a scalar as output. The BLAS Level 1 Sparse subprograms are sparse extensions of BLAS Level 1 subprograms. They are similar in functionality to BLAS Level 1 subprograms but operate on sparse vectors stored in a compressed form. The following routines are included in BLAS 1S. The Subprogram Name is the name of the manual page containing documentation on the subprogram. Subprogram Name Operation saxpyi Calculates, in single-precision arithmetic, the product of a real scalar and a real sparse vector in compressed form and adds the result to a real vector in full form. daxpyi Calculates, in double-precision arithmetic, the product of a real scalar and a real sparse vector in compressed form and adds the result to a real vector in full form. caxpyi Calculates, in single-precision arithmetic, the product of a complex scalar and a complex sparse vector in compressed form and adds the result to a complex vector in full form. zaxpyi Calculates, in double-precision arithmetic, the product of a complex scalar and a complex sparse vector in compressed form and adds the result to a complex vector in full form. ssumi Calculates, in single-precision arithmetic, the sum of a real sparse vector stored in compressed form and a real vector stored in full form. dsumi Calculates, in double-precision arithmetic, the sum of a real sparse vector stored in compressed form and a real vector stored in full form. csumi Calculates, in single-precision arithmetic, the sum of a complex sparse vector stored in compressed form and a complex vector stored in full form. zsumi Calculates, in double-precision arithmetic, the sum of a complex sparse vector stored in compressed form and a complex vector stored in full form. sdoti Calculates, in single-precision arithmetic, the product of a real vector and a real sparse vector stored in compressed form. ddoti Calculates, in double-precision arithmetic, the product of a real vector and a real sparse vector stored in compressed form. cdotui Calculates, in single-precision arithmetic, the product of a complex vector and an unconjugated complex sparse vector stored in compressed form. zdotui Calculates, in double-precision arithmetic, the product of a complex vector and an unconjugated complex sparse vector stored in compressed form. cdotci Calculates, in single-precision arithmetic, the product of a complex vector and a conjugated complex sparse vector stored in compressed form. zdotci Calculates, in double-precision arithmetic, the product of a complex vector and a conjugated complex sparse vector stored in compressed form. sgthr Constructs, in single-precision arithmetic, a real sparse vector in compressed form from the specified elements of a real vector in full form. dgthr Constructs, in double-precision arithmetic, a real sparse vector in compressed form from the specified elements of a real vector in full form. cgthr Constructs, in single-precision arithmetic, a complex sparse vector in compressed form from the specified elements of a complex vector in full form. zgthr Constructs, in double-precision arithmetic, a complex sparse vector in compressed form from the specified elements of a complex vector in full form. sgthrs Constructs, in single-precision arithmetic, a real sparse vector in compressed form from the specified scaled elements of a real vector in full form. dgthrs Constructs, in double-precision arithmetic, a real sparse vector in compressed form from the specified scaled elements of a real vector in full form. cgthrs Constructs, in single-precision arithmetic, a complex sparse vector in compressed form from the specified scaled elements of a complex vector in full form. zgthrs Constructs, in double-precision arithmetic, a complex sparse vector in compressed form from the specified scaled elements of a complex vector in full form. sgthrz Constructs, in single-precision arithmetic, a real sparse vector in compressed form from the specified elements of a real vector in full form and sets the elements to zero. dgthrz Constructs, in double-precision arithmetic, a real sparse vector in compressed form from the specified elements of a real vector in full form and sets the elements to zero. cgthrz Constructs, in single-precision arithmetic, a complex sparse vector in compressed form from the specified elements of a complex vector in full form and sets the elements to zero. zgthrz Constructs, in double-precision arithmetic, a complex sparse vector in compressed form from the specified elements of a complex vector in full form and sets the elements to zero. sroti Applies, in single-precision arithmetic, a Givens rotation for a real sparse vector stored in compressed form and another vector stored in full form. droti Applies, in double-precision arithmetic, a Givens rotation for a real sparse vector stored in compressed form and another vector stored in full form. ssctr Scatters, in single-precision arithmetic, the components of a sparse real vector in compressed form into the specified components of a real vector in full form. dsctr Scatters , in double-precision arithmetic, the components of a sparse real vector in compressed form into the specified elements a real vector in full form. csctr Scatters, in single-precision arithmetic, the components of a sparse complex vector in compressed form into the specified elements of a complex vector in full form. zsctr Scatters, in double-precision arithmetic, the components of a sparse complex vector in compressed form into the specified elements of a complex vector in full form. ssctrs Scales and then scatters, in single-precision arithmetic, the components of a sparse real vector in compressed form into the specified components of a real vector in full form. dsctrs Scales and then scatters, in double-precision arithmetic, the components of a sparse real vector in compressed form into the specified elements a real vector in full form. csctrs Scales and then scatters, in single-precision arithmetic, the components of a sparse complex vector in compressed form into the specified elements of a complex vector in full form. zsctrs Scales and then scatters, in double-precision arithmetic, the components of a sparse complex vector in compressed form into the specified elements of a complex vector in full form.