是否有能够求解以下特征值的 Fortran 求解器?

Is there a fortran solver able to solve the following eigenvalue?

A 是一个 N × N 矩阵。 I是(N-2)乘以(N-2)的单位矩阵。 B 是另一个 N×N 矩阵,定义为

    B=[I 0 0;
       0 0 0;
       0 0 0]

x 是一个有 N 个元素的数组。我怎样才能解决以下形式的特征值 A x=cB x, 其中c是特征值, 通过使用特征值求解器?

您可以查看 Lapack 库,它提供了广义矩阵的特征值问题的解决方案。根据您的数据类型和矩阵类型,您将需要使用不同的子例程。 查看 here on this regard. Also have a look here 用作矩阵类型的命名法。

最后,前段时间我写了 this module to give an implementation example of a few Lapack functionalities, including eigenvalue problems. The one you can find there is for a single value generalized matrix (sgeev).