mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 18:38:39 +00:00
Update jacobi_iteration_method.py
Changed the type of the returned list as required.
This commit is contained in:
parent
34b0a121ed
commit
2be3f22321
@ -14,7 +14,7 @@ def jacobi_iteration_method(
|
|||||||
constant_matrix: NDArray[float64],
|
constant_matrix: NDArray[float64],
|
||||||
init_val: list[int],
|
init_val: list[int],
|
||||||
iterations: int,
|
iterations: int,
|
||||||
) -> list[float]:
|
) -> NDArray[float64]:
|
||||||
"""
|
"""
|
||||||
Jacobi Iteration Method:
|
Jacobi Iteration Method:
|
||||||
An iterative algorithm to determine the solutions of strictly diagonally dominant
|
An iterative algorithm to determine the solutions of strictly diagonally dominant
|
||||||
|
Loading…
x
Reference in New Issue
Block a user