代码之家  ›  专栏  ›  技术社区  ›  yCalleecharan

Ada矩阵包

  •  2
  • yCalleecharan  · 技术社区  · 16 年前

    我在寻找一个免费的包,做大多数矩阵/向量运算。我可以自己写一些基本函数,但是对于像计算特征值和特征向量这样的高级函数,我更喜欢健壮的代码,我想知道这样的包是否可以免费获得。如果我理解正确的话,ADA2005有更多的矩阵运算工具,但它有一个函数,只计算对称矩阵和厄米特矩阵的特征值。我需要一个更通用的包,可以处理任何类型的矩阵。

    Drexel Fusion实验室的Ada95矩阵包(54KB tar.gz文件)有以下链接: http://dflwww.ece.drexel.edu/research/ada/

    谢谢。。。

    3 回复  |  直到 16 年前
        1
  •  2
  •   T.E.D.    16 年前

    正如约翰·巴恩斯所说 Rationale for Ada 2005 Annex G: Numerics G.3.1 Real Vectors and Matrices G.3.2 Complex Vectors and Matrices

    $ export ADA_INC = /your/path/to/adinclude
    $ view $ADA_INC/$(gnatkr Ada.Numerics.Generic_Real_Arrays.adb)
    $ view $ADA_INC/$(gnatkr Ada.Numerics.Generic_Complex_Arrays.adb)
    
        2
  •  3
  •   Simon Wright    16 年前

    我想你说的Ada95软件包是 here

    不知道这是怎么回事 Ada95 binding to BLAS 出现在我的浏览器缓存中!我知道对于一般的矩阵求解,你也需要LAPACK,我想知道GNAT中已有的绑定是否会有帮助?包裹 System.Generic_Real_LAPACK

    --  LAPACK Computational Routines
    
    --  gerfs  Refines the solution of a system of linear equations with
    --         a general matrix and estimates its error
    --  getrf  Computes LU factorization of a general m-by-n matrix
    --  getri  Computes inverse of an LU-factored general matrix
    --         square matrix, with multiple right-hand sides
    --  getrs  Solves a system of linear equations with an LU-factored
    --         square matrix, with multiple right-hand sides
    --  orgtr  Generates the Float orthogonal matrix Q determined by sytrd
    --  steqr  Computes all eigenvalues and eigenvectors of a symmetric or
    --         Hermitian matrix reduced to tridiagonal form (QR algorithm)
    --  sterf  Computes all eigenvalues of a Float symmetric
    --         tridiagonal matrix using QR algorithm
    --  sytrd  Reduces a Float symmetric matrix to tridiagonal form
    

    我怀疑这是完整库的一小部分。不过,它仍然可以作为更广泛绑定的跳板。

        3
  •  1
  •   cslstr    13 年前

    此包以前可用的站点已迁移,旧内容现在可在以下位置使用:

    http://dfl.ece.drexel.edu/content/ada95-matrix-package