diff options
author | Thomas A Caswell <tcaswell@gmail.com> | 2014-12-09 18:19:32 -0500 |
---|---|---|
committer | Thomas A Caswell <tcaswell@bnl.gov> | 2014-12-12 14:00:39 -0500 |
commit | 93ee10ef98936e1fa5386836fd5b34b4b6e4bb68 (patch) | |
tree | c884b1d3fb8802c8164545246707ed53f7b773f1 /numpy/lib/polynomial.py | |
parent | 48b61ec8c4b6e81100d96b3ab854947dd6ab1f64 (diff) | |
download | numpy-93ee10ef98936e1fa5386836fd5b34b4b6e4bb68.tar.gz |
DOC : do not abuse enum markup
- {ndarray, bool} -> ndarray or bool
- {int, array of ints} -> int or array of ints
- {str, function} -> str or function
- {sequnce, int} -> sequence or int
- {array_like, poly1d} -> array_like or poly1d
- {None, list of `m` scalars, scalar} -> list of `m` scalars or scalar
Diffstat (limited to 'numpy/lib/polynomial.py')
-rw-r--r-- | numpy/lib/polynomial.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/polynomial.py b/numpy/lib/polynomial.py index 2b867e244..de9376300 100644 --- a/numpy/lib/polynomial.py +++ b/numpy/lib/polynomial.py @@ -253,12 +253,12 @@ def polyint(p, m=1, k=None): Parameters ---------- - p : {array_like, poly1d} + p : array_like or poly1d Polynomial to differentiate. A sequence is interpreted as polynomial coefficients, see `poly1d`. m : int, optional Order of the antiderivative. (Default: 1) - k : {None, list of `m` scalars, scalar}, optional + k : list of `m` scalars or scalar, optional Integration constants. They are given in the order of integration: those corresponding to highest-order terms come first. |