diff options
author | Allan Haldane <allan.haldane@gmail.com> | 2018-03-06 20:49:40 -0500 |
---|---|---|
committer | Allan Haldane <allan.haldane@gmail.com> | 2018-03-06 20:53:09 -0500 |
commit | 2749b32ddb98c25fda40a645a8f7ac1bfdb7f4ac (patch) | |
tree | 2e02cf7cad7a37485a56e9efa24e417d3072410c /numpy/lib/function_base.py | |
parent | 400607bdd44d7ad23a3fe666c796e9893b2bed46 (diff) | |
download | numpy-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.py | 6 |
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:: |