Skip to content

Commit 4dd1775

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 38d64a9 commit 4dd1775

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

maths/numerical_analysis/gauss_seidel_method.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
def gauss_seidel(
2-
coefficients: list[list[float]], rhs: list[float], tol: float = 1e-10, max_iter: int = 1000
2+
coefficients: list[list[float]],
3+
rhs: list[float],
4+
tol: float = 1e-10,
5+
max_iter: int = 1000,
36
) -> list[float]:
47
"""
58
Solve the linear system Ax = b using the Gauss-Seidel iterative method.

0 commit comments

Comments
 (0)