Python code for successive over-relaxation (SOR) method

$29

Description

This MATLAB function receives a matrix A, a vector b, an initial starting vector x0, a real value ω, and a tolerance ε, and returns an approximate solution of the system Ax = b within the given tolerance together with the number of iterations.

 

x =
[[-1.00000000e+00]
[-1.94732314e-10]
[ 1.00000000e+00]]

Iterations = 16

 

 

blank

 

x =
[[-2.]
[ 1.]
[-1.]]

Iterations = 32

 

Reviews

There are no reviews yet.

Be the first to review “Python code for successive over-relaxation (SOR) method”
SKU: 10PYTSOR28 Category: