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. 要快得多。 |
说点什么...