encyclopegia.org

LAPACK

LAPACK++, the Linear Algebra PACKage in C++, is a computer software library of algorithms for numerical linear algebra that solves systems of linear equations and eigenvalue problems. It supports various matrix classes for vectors, non-symmetric matrices, SPD matrices, symmetric matrices, banded, triangular, and tridiagonal matrices. However, it does not include all of the capabilities of original LAPACK library.

LAPACK ("Linear Algebra Package") is a standard software library for numerical linear algebra. It provides routines for solving systems of linear equations and linear least squares, eigenvalue problems, and singular value decomposition. It also includes routines to implement the associated matrix factorizations such as LU, QR, Cholesky and Schur decomposition. The routines handle both real and complex matrices in both single and double precision. LAPACK relies on an underlying BLAS implementation to provide efficient and portable computational building blocks for its routines. LAPACK was originally written in FORTRAN 77, but moved to Fortran 90 in version 3.2 (2008). It is officially distributed through the Netlib repository. Maintenance work is nowadays done in a GitHub repository. LAPACK was designed as the successor to the linear equations and linear least-squares routines of LINPACK and the eigenvalue routines of EISPACK. LINPACK, written in the 1970s and 1980s, was designed to run on the then-modern vector computers with shared memory. LAPACK, in contrast, was designed to effectively exploit the caches on modern cache-based architectures and the instruction-level parallelism of modern superscalar processors, and thus can run orders of magnitude faster than LINPACK on such machines, given a well-tuned BLAS implementation. LAPACK has also been extended to run on distributed memory systems in later packages such as ScaLAPACK and PLAPACK. Netlib LAPACK is licensed under a three-clause BSD style license, a permissive free software license with few restrictions. ==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. A LAPACK subroutine name is in the form pmmaaa , where: 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, while C and Z stand for complex arithmetic with respectively single and double precision. The newer version, LAPACK95, 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 different kind of matrices are reported below; the actual data are stored in a different format depending on the specific kind; e.g., when the code DI is given, the subroutine expects a vector of length n containing the elements on the diagonal, while when the code GE is given, the subroutine expects an 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 . ==Use with other programming languages and libraries== Many programming environments today support the use of libraries with C binding (LAPACKE, a standardised C interface, has been part of LAPACK since version 3.4.0 ), allowing LAPACK routines to be used directly so long as a few restrictions are observed. Additionally, many other software libraries and tools for scientific and numerical computing are built on top of LAPACK, such as R, MATLAB, and SciPy. Several alternative language bindings are also available: Armadillo for C++ IT++ for C++ LAPACK++ for C++ Lacaml for OCaml SciPy for Python Gonum for Go PDL::LinearAlgebra for Perl Data Language Math::Lapack for Perl NLapack for .NET CControl for C in embedded systems lapack for rust ==See also== List of numerical libraries List of open-source mathematical libraries Math Kernel Library (MKL) NAG Numerical Library SLATEC, a FORTRAN 77 library of mathematical and statistical routines QUADPACK, a FORTRAN 77 library for numerical integration ==References==

References

  1. Anderson, E. netlib.org . · retrieved 2026-03-02 · rev 1341538604
    Cite this reference

    MLA "Anderson, E. netlib.org ." Anderson, E. 2026-03-02. https://en.wikipedia.org/w/index.php?oldid=1341538604. Accessed 24 November 2026.

    Chicago "Anderson, E. netlib.org ." Anderson, E. 2026-03-02. https://en.wikipedia.org/w/index.php?oldid=1341538604.

    APA Anderson, E. (2026). Anderson, E. netlib.org . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1341538604

  2. Low-level LAPACK functions . SciPy v1.8.1 Manual . retrieved 28 May 2022 · retrieved 2026-03-02 · rev 1341538604
    Cite this reference

    MLA "Low-level LAPACK functions . SciPy v1.8.1 Manual . retrieved 28 May 2022." Low-level LAPACK functions. 2026-03-02. https://en.wikipedia.org/w/index.php?oldid=1341538604. Accessed 24 November 2026.

    Chicago "Low-level LAPACK functions . SciPy v1.8.1 Manual . retrieved 28 May 2022." Low-level LAPACK functions. 2026-03-02. https://en.wikipedia.org/w/index.php?oldid=1341538604.

    APA Low-level LAPACK functions. (2026). Low-level LAPACK functions . SciPy v1.8.1 Manual . retrieved 28 May 2022. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1341538604

  3. Guides and Sample Code . developer.apple.com . retrieved 2017-07-07 · retrieved 2017-07-06 · rev 1341538604
    Cite this reference

    MLA "Guides and Sample Code . developer.apple.com . retrieved 2017-07-07." Guides and Sample Code. 2017-07-06. https://en.wikipedia.org/w/index.php?oldid=1341538604. Accessed 24 November 2026.

    Chicago "Guides and Sample Code . developer.apple.com . retrieved 2017-07-07." Guides and Sample Code. 2017-07-06. https://en.wikipedia.org/w/index.php?oldid=1341538604.

    APA Guides and Sample Code. (2017). Guides and Sample Code . developer.apple.com . retrieved 2017-07-07. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1341538604

  4. amd/libflame: High-performance object-based library for DLA computations . GitHub . 25 August 2020. · retrieved 2026-03-02 · rev 1341538604
    Cite this reference

    MLA "amd/libflame: High-performance object-based library for DLA computations . GitHub . 25 August 2020." amd/libflame: High-performance object-based library for DLA computations. 2026-03-02. https://en.wikipedia.org/w/index.php?oldid=1341538604. Accessed 24 November 2026.

    Chicago "amd/libflame: High-performance object-based library for DLA computations . GitHub . 25 August 2020." amd/libflame: High-performance object-based library for DLA computations. 2026-03-02. https://en.wikipedia.org/w/index.php?oldid=1341538604.

    APA amd/libflame: High-performance object-based library for DLA computations. (2026). amd/libflame: High-performance object-based library for DLA computations . GitHub . 25 August 2020. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1341538604

  5. ICL . icl.eecs.utk.edu . retrieved 2017-07-07 · retrieved 2017-07-06 · rev 1341538604
    Cite this reference

    MLA "ICL . icl.eecs.utk.edu . retrieved 2017-07-07." ICL. 2017-07-06. https://en.wikipedia.org/w/index.php?oldid=1341538604. Accessed 24 November 2026.

    Chicago "ICL . icl.eecs.utk.edu . retrieved 2017-07-07." ICL. 2017-07-06. https://en.wikipedia.org/w/index.php?oldid=1341538604.

    APA ICL. (2017). ICL . icl.eecs.utk.edu . retrieved 2017-07-07. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1341538604

  6. The BLAS as the Key to Portability · retrieved 2026-03-02 · rev 1341538604
    Cite this reference

    MLA "The BLAS as the Key to Portability." rp|at=[https://www. 2026-03-02. https://en.wikipedia.org/w/index.php?oldid=1341538604. Accessed 24 November 2026.

    Chicago "The BLAS as the Key to Portability." rp|at=[https://www. 2026-03-02. https://en.wikipedia.org/w/index.php?oldid=1341538604.

    APA rp|at=[https://www. (2026). The BLAS as the Key to Portability. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1341538604

  7. Reference-LAPACK/lapack . · retrieved 2026-03-02 · rev 1341538604
    Cite this reference

    MLA "Reference-LAPACK/lapack ." 2026-03-02. https://en.wikipedia.org/w/index.php?oldid=1341538604. Accessed 24 November 2026.

    Chicago "Reference-LAPACK/lapack ." 2026-03-02. https://en.wikipedia.org/w/index.php?oldid=1341538604.

    APA encyclopegia.org. (2026). Reference-LAPACK/lapack . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1341538604

  8. Factors that Affect Performance · retrieved 2026-03-02 · rev 1341538604
    Cite this reference

    MLA "Factors that Affect Performance." rp|at=[https://www. 2026-03-02. https://en.wikipedia.org/w/index.php?oldid=1341538604. Accessed 24 November 2026.

    Chicago "Factors that Affect Performance." rp|at=[https://www. 2026-03-02. https://en.wikipedia.org/w/index.php?oldid=1341538604.

    APA rp|at=[https://www. (2026). Factors that Affect Performance. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1341538604

  9. LICENSE.txt . Netlib . retrieved 28 May 2022 · retrieved 2026-03-02 · rev 1341538604
    Cite this reference

    MLA "LICENSE.txt . Netlib . retrieved 28 May 2022." LICENSE. 2026-03-02. https://en.wikipedia.org/w/index.php?oldid=1341538604. Accessed 24 November 2026.

    Chicago "LICENSE.txt . Netlib . retrieved 28 May 2022." LICENSE. 2026-03-02. https://en.wikipedia.org/w/index.php?oldid=1341538604.

    APA LICENSE. (2026). LICENSE.txt . Netlib . retrieved 28 May 2022. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1341538604

  10. Naming Scheme · retrieved 2026-03-02 · rev 1341538604
    Cite this reference

    MLA "Naming Scheme." rp|at=[https://www. 2026-03-02. https://en.wikipedia.org/w/index.php?oldid=1341538604. Accessed 24 November 2026.

    Chicago "Naming Scheme." rp|at=[https://www. 2026-03-02. https://en.wikipedia.org/w/index.php?oldid=1341538604.

    APA rp|at=[https://www. (2026). Naming Scheme. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1341538604

  11. LAPACK 3.4.0 . LAPACK — Linear Algebra PACKage . retrieved 2024-09-22 · retrieved 2024-09-21 · rev 1341538604
    Cite this reference

    MLA "LAPACK 3.4.0 . LAPACK — Linear Algebra PACKage . retrieved 2024-09-22." LAPACK 3. 2024-09-21. https://en.wikipedia.org/w/index.php?oldid=1341538604. Accessed 24 November 2026.

    Chicago "LAPACK 3.4.0 . LAPACK — Linear Algebra PACKage . retrieved 2024-09-22." LAPACK 3. 2024-09-21. https://en.wikipedia.org/w/index.php?oldid=1341538604.

    APA LAPACK 3. (2024). LAPACK 3.4.0 . LAPACK — Linear Algebra PACKage . retrieved 2024-09-22. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1341538604

  12. R: LAPACK Library . stat.ethz.ch . retrieved 2022-03-19 · retrieved 2022-03-18 · rev 1341538604
    Cite this reference

    MLA "R: LAPACK Library . stat.ethz.ch . retrieved 2022-03-19." R: LAPACK Library. 2022-03-18. https://en.wikipedia.org/w/index.php?oldid=1341538604. Accessed 24 November 2026.

    Chicago "R: LAPACK Library . stat.ethz.ch . retrieved 2022-03-19." R: LAPACK Library. 2022-03-18. https://en.wikipedia.org/w/index.php?oldid=1341538604.

    APA R: LAPACK Library. (2022). R: LAPACK Library . stat.ethz.ch . retrieved 2022-03-19. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1341538604

  13. LAPACK in MATLAB . Mathworks Help Center . retrieved 28 May 2022 · retrieved 2026-03-02 · rev 1341538604
    Cite this reference

    MLA "LAPACK in MATLAB . Mathworks Help Center . retrieved 28 May 2022." LAPACK in MATLAB. 2026-03-02. https://en.wikipedia.org/w/index.php?oldid=1341538604. Accessed 24 November 2026.

    Chicago "LAPACK in MATLAB . Mathworks Help Center . retrieved 28 May 2022." LAPACK in MATLAB. 2026-03-02. https://en.wikipedia.org/w/index.php?oldid=1341538604.

    APA LAPACK in MATLAB. (2026). LAPACK in MATLAB . Mathworks Help Center . retrieved 28 May 2022. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1341538604

Cite this article

MLA

"LAPACK." encyclopegia.org, 2026, https://encyclopegia.org/wiki/lapack. Accessed 24 November 2026.

Chicago

"LAPACK." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/lapack.

APA

encyclopegia.org. (2026). LAPACK. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/lapack

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Maraldi (lunar crater)

enwiki · references available

Music of Alberta

enwiki · references available

Maskelyne (crater)

enwiki · references available

Mercator (crater)

enwiki · references available

Trinity (video game)

enwiki · references available

Jimbo and the Jet-Set

enwiki · references available

Yamila Diaz-Rahi

enwiki · references available

Depot Harbour

enwiki · references available

Zone of the Enders (video game)

enwiki · references available

Airframe (novel)

enwiki · references available

Rosie Beaton

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1341538604 · 0.5 · snapshot enwiki-001367837940

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.