Skip to content

Commit

Permalink
Update differentiate.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisGMM committed May 5, 2022
1 parent 0152edb commit c05494f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/numericalmethods/differentiate.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def central(order: int, f: Callable[[float], float], x: float, h: float, exact:
Args:
order (int): Order of the derivate. (first, second ...).
f (Callable): Function for which the derivative will be computed.
f (Callable[[float], float]): Function for which the derivative will be computed.
Only one argument will be passed to it, `x`.
x (float): Point at which the derivative will be computed.
h (float): Error of the approximation # TODO: Is it the error?
Expand Down

0 comments on commit c05494f

Please sign in to comment.