![]() ![]() ![]() plot_surface ( Y, X, U_exact, cmap = cm. # enable 3D plotting import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D from matplotlib import cm from import spsolve u_exact = spsolve ( A, f ) print ( 'norm of the residual = grid points'. GAUSS-Seidel iteration method linear equation group The iterative formula is: x i ( k + 1 ) 1 a i i ( b i j 1 i 1 a i j x j ( k + 1 ) j i +. Replaces all undefined values (NaN) in a grid using the Gauss-Seidel method by relaxation. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |