summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorAllan Haldane <allan.haldane@gmail.com>2018-03-06 20:49:40 -0500
committerAllan Haldane <allan.haldane@gmail.com>2018-03-06 20:53:09 -0500
commit2749b32ddb98c25fda40a645a8f7ac1bfdb7f4ac (patch)
tree2e02cf7cad7a37485a56e9efa24e417d3072410c /numpy/lib/function_base.py
parent400607bdd44d7ad23a3fe666c796e9893b2bed46 (diff)
downloadnumpy-2749b32ddb98c25fda40a645a8f7ac1bfdb7f4ac.tar.gz
DOC: Grammar of np.gradient docstring
[ci-skip]
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index e61122107..7b0c3007b 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -818,9 +818,9 @@ def gradient(f, *varargs, **kwargs):
Notes
-----
Assuming that :math:`f\\in C^{3}` (i.e., :math:`f` has at least 3 continuous
- derivatives) and let be :math:`h_{*}` a non homogeneous stepsize, the
- spacing the finite difference coefficients are computed by minimising
- the consistency error :math:`\\eta_{i}`:
+ derivatives) and let :math:`h_{*}` be a non-homogeneous stepsize, we
+ minimize the "consistency error" :math:`\\eta_{i}` between the true gradient
+ and its estimate from a linear combination of the neighboring grid-points:
.. math::