matrix - Ada 矩阵包

标签 matrix package ada

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

来自 Drexel Fusion Laboratory 的 Ada95 矩阵包(54KB tar.gz 文件)具有链接:http://dflwww.ece.drexel.edu/research/ada/但这种墨水的页面今天已不存在。

非常感谢...

最佳答案

我认为你所说的Ada95包是here -- 但它只有 35k,而且它的功能似乎比 Ada2005 标准库要少。

不知道这是怎么回事Ada95 binding to BLAS出现在我的浏览器缓存中!我发现对于一般的矩阵求解,您也需要 LAPACK,我想知道 GNAT 中已有的绑定(bind)是否会有帮助?文件 s-gerela.ad[bs] 中的软件包 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

我怀疑这是完整库的一小部分。尽管如此,仍然可以作为更广泛绑定(bind)的有用跳板。

关于matrix - Ada 矩阵包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3193180/

相关文章:

pointers - 尝试将指针传递给向量元素时,对变量的访问指定常量

python - Pip 安装失败,出现 “connection error"ssl 问题

ada - 如何使用 Put_Line 方法输出整数?

python - 如何以最有效的方式从 numpy 一维数组创建对称矩阵

c++ - 用于矩阵加法的 Cuda 程序

Javah在类B上操作时无法识别类(B)中提到的类(A)

java - 从java项目到包

netbeans - Ada 与 Netbeans

android - 如何结合 OpenGL 使用 onSensorChanged 传感器数据

c++ - 使用带有 Eigen 的 C 风格数组来实现矩阵逆