We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1633f7 commit de0bceaCopy full SHA for de0bcea
1 file changed
maths/numerical_analysis/gauss-seidel-method.py
@@ -16,6 +16,8 @@ def gauss_seidel(a: list[list[float]], b: list[float], tol: float = 1e-10, max_i
16
>>> b = [4,7,3]
17
>>> gauss_seidel(A, b)
18
[0.5, 1.0, 0.5]
19
+
20
+ Wikipedia : https://en.wikipedia.org/wiki/Gauss%E2%80%93Seidel_method
21
"""
22
n = len(a)
23
x = [0.0] * n
0 commit comments