Skip to content

Commit

Permalink
Update roots.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisGMM committed May 5, 2022
1 parent 71ce0e6 commit abc9b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/numericalmethods/roots.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ def newton_systems(f: VectorFunction, J: Matrix, vec0: np.ndarray, err: float) -
r"""Solves systems of linear and nonlinear equations using the Newton method.
Args:
f (Callable[[...], ...]): Vector function to find its roots.
J (Callable[[...], ...]): Jacobian of f.
f (VectorFunction): Vector function to find its roots.
vec0 (np.ndarray): Initial guess of the solution. Avoid using guesses that make J a singular matrix (:math:`|J(vec0)| = 0`).
err (float): Stopping criteria for the algorithm. Minimum difference between the to last consecutive solutions.
Expand Down

0 comments on commit abc9b2e

Please sign in to comment.