BLAS1_S
Basic Linear Algebra Subprograms
Level 1
Single Precision Real Arithmetic
BLAS1_S is a library of FORTRAN77 routines, using
single precision real arithmetic, which implement the Level 1
BLAS, or Basic Linear Algebra Subprograms.
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.
In certain cases, they may also be used to operate on the rows
or columns of a two-dimensional array.
Related Data and Programs:
BLAS1_C
is a FORTRAN77 library which
is the single precision complex arithmetic version of BLAS1.
BLAS1_D
is the double precision real arithmetic version of BLAS1.
BLAS1_S is also available in
a C version and
a C++ version and
a FORTRAN90 version and
a MATLAB version.
BLAS1_Z
is a FORTRAN77 library which
is the double precision complex arithmetic version of BLAS1.
BLAS2
is a FORTRAN77 library which
handles matrix-vector operations.
BLAS3
is a FORTRAN77 library which
handles matrix-matrix operations.
GSL
is the Gnu Scientific Library, includes an implementation
of the BLAS1 routines.
LAPACK
is a FORTRAN77 library which
is a linear algebra package which uses the BLAS1 routines.
LINPACK
is a FORTRAN77 library which
is a linear algebra package which uses the BLAS1 routines.
SUPER_BLAS
is a C library which includes some of the BLAS1 routines.
Reference:
-
Jack Dongarra, Jim Bunch, Cleve Moler, Pete Stewart,
LINPACK User's Guide,
SIAM, 1979,
ISBN13: 978-0-898711-72-1,
LC: QA214.L56.
-
Charles Lawson, Richard Hanson, David Kincaid, Fred Krogh,
Algorithm 539,
Basic Linear Algebra Subprograms for Fortran Usage,
ACM Transactions on Mathematical Software,
Volume 5, Number 3, September 1979, pages 308-323.
-
Thomas Coleman, Charles Van Loan,
Handbook for Matrix Computations,
Society for Industrial and Applied Mathematics,
3600 University City Science Center,
Philadelphia, PA 19104-2688.
Source Code:
Examples and Tests:
List of Routines:
-
ISAMAX finds the index of the real vector element of
maximum absolute value.
-
LSAME returns TRUE if CA is the same letter as CB
regardless of case.
-
SASUM sums the absolute values of the entries of a real vector.
-
SAXPY adds a constant times one real vector to another.
-
SCASUM sums the absolute values of the entries of a
complex vector.
-
SCNRM2 computes the Euclidean norm of a complex vector.
-
SCOPY copies one real vector into another.
-
SDOT forms the dot product of two real vectors.
-
SNRM2 computes the Euclidean norm of a real vector.
-
SROT applies a real plane rotation.
-
SROTG constructs a real Givens plane rotation.
-
SSCAL scales a real vector by a constant.
-
SSWAP interchanges two real vectors.
-
XERBLA is an error handler for the LAPACK routines.
You can go up one level to
the FORTRAN77 source codes.
Last revised on 28 March 2007.