Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoMVale committed May 6, 2024
1 parent a9beb63 commit be26651
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/polykin/math/derivatives.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def derivative_centered(f: Callable[[float], float],
Differentiation point.
h : float | None
Finite-difference step. If `None`, it will be set to the theoretical
optimum value $h = \sqrt{3\epsilon}$.
optimum value $h = \sqrt[3]{3\epsilon}$.
Returns
-------
Expand Down Expand Up @@ -151,7 +151,7 @@ def hessian2(f: Callable[[tuple[float, float]], float],
Differentiation point.
h : float | None
Finite-difference step. If `None`, it will be set to the theoretical
optimum value $h = \sqrt{3\epsilon}$.
optimum value $h = \sqrt[3]{3\epsilon}$.
Returns
-------
Expand Down

0 comments on commit be26651

Please sign in to comment.