factograf
ZH
登录

LAPACK

LAPACK,其名為Linear Algebra PACKage的縮寫,是一以Fortran程式語言寫的,用於數值計算的函式集。 LAPACK提供了豐富的工具函式,可用於諸如解多元線性方程式、線性系統方程組的最小平方解、計算特徵向量、用於計算矩陣QR分解的Householder轉換、以及奇異值分解等問題。 在NetLib (页面存档备份,存于互联网档案馆)亦提供了API經簡化的Fortran 95版本的LAPACK95。LAPACK以BSD授權的方法釋出。Netlib LAPACK 根据三条款 BSD 样式许可证获得许可,这是一种宽松的自由软件许可证,几乎没有任何限制。

在其他编程语言中使用LAPACK

很多现今的编程环境都支持C binding 库。LAPACK routines 可以在一定限制及约束下当作C 函数来用。 一些其他的language binding也是可选的:

  • Lapack95 (页面存档备份,存于互联网档案馆) uses features of Fortran 95 to simplify the interface of the routines
  • clapack (页面存档备份,存于互联网档案馆) for C (especially useful if there is no Fortran compiler available, as it is already preprocessed with f2c)
  • LAPACK++ for C++
  • Armadillo for C++
  • jlapack (页面存档备份,存于互联网档案馆) for Java
  • CSLapack (页面存档备份,存于互联网档案馆) for C#. CSLapack is the translation of Fortran to C# of the LAPACK numerical subroutines.
  • LACAML for OCaml
  • Gonum/lapack is the translation of LAPACK and BLAS routines to Go (native)

继续阅读

14种语言

文字来自维基百科,CC BY-SA 4.0 · 来源条目