小编aga*_*ve6的帖子

PDL /向量和矩阵代数/对称矩阵的特征值排序

我正在尝试使用 Perl 模块eigens_sym 的强大功能来计算对称矩阵的特征向量PDL

use strict; # Be pessimistic and careful with interpretations in the compilation stage, before the very execution of this program . Doubts may abort execution, probably with error messages to stdout 

use PDL ;   # Load the PDL extension of Perl 



my $matrix ; # declare this variable 

# Set $matrix to my matrix A 

$matrix = new PDL(
                [
                    [  2 ,  1 ,  9 ,  2 , -6 ,  5 , …
Run Code Online (Sandbox Code Playgroud)

perl pdl

6
推荐指数
1
解决办法
151
查看次数

标签 统计

pdl ×1

perl ×1