You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The implementation is using first order central difference in the interior. But the documentation states that central difference of second order would be used.
I can make a fix available when this issue gets approved.
The text was updated successfully, but these errors were encountered:
Yes, what you state is what happened. Afterwards there was some work where I was not really involved. So I guess the issue got addressed somehow differently.
There are different definitions for "second order" difference. It was proposed at least to give the definition used, inside the documentation - otherwise users might be confused about the outcome of the gradient function as I was. In case the documentation of the gradient function contains the definition now I would say this issue can be closed. But I have not checked it yet.
There is a "typo" in the documentation of the gradient function
(https://docs.scipy.org/doc/numpy/reference/generated/numpy.gradient.html).
The implementation is using first order central difference in the interior. But the documentation states that central difference of second order would be used.
I can make a fix available when this issue gets approved.
The text was updated successfully, but these errors were encountered: