Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(doc) which scheme is chosen for which point #19

Closed
Tigraan opened this issue Sep 23, 2019 · 1 comment
Closed

(doc) which scheme is chosen for which point #19

Tigraan opened this issue Sep 23, 2019 · 1 comment

Comments

@Tigraan
Copy link

Tigraan commented Sep 23, 2019

As the derivative of a given numpy array has the same size as the initial array, it could be worth mentioning how the differentiation switches between the backwards/forwards/centered scheme.

Looking at operators.diff() it uses "center" whenever it can apply it, "forward" at the left (low-index) boundary and "backward" at the right (high-index) boundary, but the source code is not that easy to read, and it is not written anywhere in the doc either.

@maroba
Copy link
Owner

maroba commented Sep 27, 2019

That is correct. I will update the documentation accordingly.

@maroba maroba closed this as completed Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants