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
feat(analysis/calculus/deriv): one-dimensional derivatives #1670
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this design, f'
is a term of type F
. I haven't thought hard about this, but I would expect a function f' : 𝕜 → F
which you then might evaluate at a point x
when needed. Does this make sense, or should this only come at a later step?
It's the same approach as taken for the Fréchet derivative: we only define the derivative at a single point. If we need to state that a function |
Thanks a lot for this, this looks great to me! I can spot two missing bits in the API: composition of a function I leave this PR open as others might want to add more comments. Unless there are more comments, I will merge it in a few days (if you fix the broken build inbetween :) |
Another possible addition to the API: derivatives of the inner product and of the norm and distance induced by an inner product. |
|
Another useful generalization of multiplication would be normed algebras over the base field. (Such as the complex numbers over the reals.) |
…r-community#1670) * feat(analysis/calculus/deriv): one-dimensional derivatives * Typos. * Define deriv f x as fderiv 𝕜 f x 1 * Proof style. * Fix failing proofs.
…r-community#1670) * feat(analysis/calculus/deriv): one-dimensional derivatives * Typos. * Define deriv f x as fderiv 𝕜 f x 1 * Proof style. * Fix failing proofs.
TO CONTRIBUTORS:
Make sure you have:
If this PR is related to a discussion on Zulip, please include a link in the discussion.
For reviewers: code review check list