From 2749b32ddb98c25fda40a645a8f7ac1bfdb7f4ac Mon Sep 17 00:00:00 2001 From: Allan Haldane Date: Tue, 6 Mar 2018 20:49:40 -0500 Subject: DOC: Grammar of np.gradient docstring [ci-skip] --- numpy/lib/function_base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'numpy/lib/function_base.py') 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:: -- cgit v1.2.1