BLAS0
Auxilliary Functions for Basic Linear Algebra Subprograms (BLAS)
BLAS0
is a C++ library which
contains auxilliary functions for the Basic Linear Algebra Subprograms
(BLAS).
Licensing:
The computer code and data files made available on this
web page are distributed under
the GNU LGPL license.
Languages:
BLAS0 is available in
a C version and
a C++ version and
a FORTRAN77 version and
a FORTRAN90 version and
a MATLAB version
Related Data and Programs:
BLAS1_C,
a C++ library which
contains basic linear algebra subprograms (BLAS)
for vector-vector operations,
using single precision complex arithmetic,
by Charles Lawson, Richard Hanson, David Kincaid, Fred Krogh.
BLAS1_D,
a C++ library which
contains basic linear algebra subprograms (BLAS)
for vector-vector operations,
using double precision real arithmetic,
by Charles Lawson, Richard Hanson, David Kincaid, Fred Krogh.
BLAS1_S,
a C++ library which
contains basic linear algebra subprograms (BLAS)
for vector-vector operations,
using single precision real arithmetic,
by Charles Lawson, Richard Hanson, David Kincaid, Fred Krogh.
BLAS1_Z,
a C++ library which
contains basic linear algebra subprograms (BLAS)
for vector-vector operations,
using double precision complex arithmetic,
by Charles Lawson, Richard Hanson, David Kincaid, Fred Krogh.
BLAS2,
a C++ library which
contains basic linear algebra subprograms (BLAS)
for matrix-vector operations;
BLAS3,
a C++ library which
contains basic linear algebra subprograms (BLAS)
for matrix-matrix operations;
Reference:
-
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.
Source Code:
Examples and Tests:
List of Routines:
-
C4_UNIFORM_01 returns a unit complex pseudorandom number.
-
C8_UNIFORM_01 returns a unit double complex pseudorandom number.
-
CABS1 returns the L1 norm of a number.
-
CABS2 returns the L2 norm of a number.
-
CMACH computes machine parameters for complex arithmetic.
-
CSIGN1 is a transfer-of-sign function.
-
CSIGN2 is a transfer-of-sign function.
-
DMACH computes machine parameters of double precision real arithmetic.
-
I4_MAX returns the maximum of two I4's.
-
I4_MIN returns the minimum of two I4's.
-
LSAME returns TRUE if CA is the same letter as CB regardless of case.
-
R4_ABS returns the absolute value of an R4.
-
R4_MAX returns the maximum of two R4's.
-
R4_SIGN returns the sign of an R4.
-
R4_UNIFORM_01 returns a unit pseudorandom R4.
-
R4_UNIFORM_AB returns a scaled pseudorandom R4.
-
R4MAT_PRINT prints an R4MAT.
-
R4MAT_PRINT_SOME prints some of an R4MAT.
-
R4MAT_TEST sets up a test matrix.
-
R8_ABS returns the absolute value of an R8.
-
R8_MAX returns the maximum of two R8's.
-
R8_SIGN returns the sign of an R8.
-
R8_UNIFORM_01 returns a unit pseudorandom R8.
-
R8_UNIFORM_AB returns a scaled pseudorandom R8.
-
R8MAT_PRINT prints an R8MAT.
-
R8MAT_PRINT_SOME prints some of an R8MAT.
-
R8MAT_TEST sets up a test matrix.
-
R8VEC_PRINT prints an R8VEC.
-
SMACH computes machine parameters of float arithmetic.
-
TIMESTAMP prints the current YMDHMS date as a time stamp.
-
XERBLA is an error handler for the LAPACK routines.
-
ZABS1 returns the L1 norm of a complex .
-
ZABS2 returns the L2 norm of a complex .
-
ZMACH computes machine parameters for complex arithmetic.
-
ZSIGN1 is a complex transfer-of-sign function.
-
ZSIGN2 is a complex transfer-of-sign function.
You can go up one level to
the C++ source codes.
Last revised on 03 April 2014.