猿代码 — 科研/AI模型/高性能计算
0

Jacobi迭代,Gauss-Seidel迭代对比

摘要: 1)Jacobi迭代Maximum iterations ?---------- Iteration number: 300 , 0.147339---------------------- Iteration number: 600 , 0.073689---------------------- Iteration number: 900 , 0.049096------------Max ...
1)
Jacobi迭代
Maximum iterations [100-4000]?
---------- Iteration number: 300 , 0.147339------------

---------- Iteration number: 600 , 0.073689------------

---------- Iteration number: 900 , 0.049096------------


Max error at iteration 1000 was 0.044201
Total time was 4.447094 seconds.

2)
Gauss-Seidel迭代

Maximum iterations [100-4000]?
---------- Iteration number: 300 , 0.092937------------

---------- Iteration number: 600 , 0.018218------------


Max error at iteration 716 was 0.009999
Total time was 4.115588 seconds.

要快得多。


说点什么...

已有0条评论

最新评论...

本文作者
2024-2-19 23:37
  • 0
    粉丝
  • 314
    阅读
  • 0
    回复
资讯幻灯片
热门评论
热门专题
排行榜
Copyright   ©2015-2023   猿代码-超算人才智造局 高性能计算|并行计算|人工智能      ( 京ICP备2021026424号-2 )