SIGN IN SIGN UP

added type hints and doctests to arithmetic_analysis/newton_method.py (#2259)

* added type hints and doctests to arithmetic_analysis/newton_method.py

Continuing #2128
Also changed some variable names, made them more descriptive.

* Added type hints and doctests to arithmetic_analysis/newton_method.py

added a type alias for Callable[[float], float] and cleaned up the exception handling

* added type hints and doctests to arithmetic_analysis/newton_method.py

improved exception handling

* Update newton_method.py

Co-authored-by: Christian Clauss <cclauss@me.com>
S
spamegg committed
473072bd4fb82bba172c6028b4b613d321d57713
Parent: 9cda130
Committed by GitHub <noreply@github.com> on 8/1/2020, 1:17:46 PM