Skip to content

Commit 7a6164c

Browse files
committed
Better 'docstrings'
1 parent 2c5d46c commit 7a6164c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

polynomials.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ def briot_ruffini(a, root):
1212
1313
Args:
1414
a (numpy.ndarray): the coefficients of the input polynomial.
15-
root: one of the polynomial roots.
15+
root (float): one of the polynomial roots.
1616
1717
Returns:
1818
b (numpy.ndarray): the coefficients of the output polynomial.
19-
rest: polynomial division Rest.
19+
rest (float): polynomial division Rest.
2020
"""
2121
n = a.size - 1
2222
b = np.zeros(n)

solutions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def muller(f, a, c, toler, iter_max):
208208
Args:
209209
f (function): equation f(x).
210210
a (float): lower limit.
211-
c: upper limit.
211+
c (float): upper limit.
212212
toler (float): tolerance (stopping criterion).
213213
iter_max (int): maximum number of iterations (stopping criterion).
214214

0 commit comments

Comments
 (0)