Professional Documents
Culture Documents
Contents
Naming scheme
Use with other programming languages
See also
References
Further reading
External links
Naming scheme
Subroutines in LAPACK have a naming convention which makes the identifiers very compact. This was necessary as the first Fortran
standards only supported identifiers up to six characters long, so the names had to be shortened to fit into this limit.
p is a one-letter code denoting the type of numerical constants used.S, D stand for real floating point arithmetic
respectively in single and double precision, whileC and Z stand for complex arithmetic with respectively single and
double precision. The newer version, LAP ACK95, uses generic subroutines in order to overcome the need to
explicitly specify the data type.
mm is a two-letter code denoting the kind of matrix expected by the algorithm. The codes for the ferent
dif kind of
matrices are reported below; the actual data are stored in a dif
ferent format depending on the specific kind; e.g.,
when the code DI is given, the subroutine expects a vector of lengthn containing the elements on the diagonal,
while when the code GE is given, the subroutine expects ann×n array containing the entries of the matrix.
aaa is a one- to three-letter code describing the actual algorithm implemented in the subroutine, e.g.
SV denotes a
subroutine to solve linear system, while R denotes a rank-1 update.
For example, the subroutine to solve a linear system with a general (non-structured) matrix using real double-precision arithmetic is
called DGESV.
Details on this scheme can be found in theNaming scheme section in LAPACK Users' Guide.
See also
List of numerical libraries
Math Kernel Library (MKL)
NAG Numerical Library
References
1. "LAPACK 3.2 Release Notes"(http://www.netlib.org/lapack/lapack-3.2.html). 16 November 2008.
2. "PLAPACK: Parallel Linear Algebra Package" (https://www.cs.utexas.edu/users/plapack/). www.cs.utexas.edu.
University of Texas at Austin. 12 June 2007. Retrieved 20 April 2017.
Further reading
Anderson, E.; Bai, Z.; Bischof, C.; Blackford, S.;Demmel, J.; Dongarra, J.; Du Croz, J.; Greenbaum, A.; Hammarling,
S.; McKenney, A.; Sorensen, D. (1999).LAPACK Users' Guide (Third ed.). Philadelphia, PA: Society for Industrial
and Applied Mathematics.ISBN 0-89871-447-8.
External links
Official website on Netlib.org
LAPACK Users' Guide
NAG Library LAPACK reference
Sun Performance Libraryoptimized LAPACK for Solaris OS on SPARC/x86/x64 and Linux
How to use LAPACK with C
LAPACK & BLAS precompiled binaries for Win32 platform
LAPACK and BLAS for .NET
Text is available under theCreative Commons Attribution-ShareAlike License ; additional terms may apply. By using this
site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of theWikimedia
Foundation, Inc., a non-profit organization.