MPI-MatrixEigenvalue
所属分类:数值算法/人工智能
开发工具:C/C++
文件大小:12KB
下载次数:33
上传日期:2009-08-24 10:50:50
上 传 者:
phoenix168
说明: 矩阵特征值计算,包括乘幂法、雅克比法、单侧旋转法、QR法的MPI源码
(Matrix eigenvalue calculation, including the power by law, Jacques ratio method, unilateral rotation method, QR Law MPI Source)
文件列表:
21-4\dataIn.txt (28, 2003-07-14)
21-4\qr_value.c (17110, 2003-07-14)
21-1\dataIn.txt (80, 2003-07-14)
21-1\power.c (3829, 2003-07-14)
21-2\cjacobi.c (23028, 2003-07-14)
21-2\dataIn.txt (132, 2003-07-14)
21-3\dataIn.txt (40, 2003-07-14)
21-3\single.c (6913, 2003-07-14)
21-4 (0, 2008-05-18)
21-1 (0, 2008-05-18)
21-2 (0, 2008-05-18)
21-3 (0, 2008-05-18)
1. compile:
mpicc qr_value.c -o qr_value -lm
2. run:
mpirun -np 3 qr_value
3. result:
Input of file "dataIn.txt"
3 3
1.000000 3.000000 4.000000
3.000000 1.000000 2.000000
4.000000 2.000000 1.000000
Iteration num = 15
Whole running time = 0.109047 seconds
Distribute data time = 0.001712 seconds
Parallel compute time = 0.107335 seconds
the envalue is
7.074675 -3.187882 -0.886791
近期下载者:
相关文件:
收藏者: