-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add gradient calculation for surfaces #15
Comments
There could be a problem with the length of the work array as it may be bigger in parder. But I have seen that you have written pardtc that can return the derivative of a surface. That is very nice. One can add a method that return a derivative of a spline as another spline. |
@egiovan I've implemented the derivative evaluation for both cartesian bivariate types: fitpack/src/fitpack_surfaces.f90 Lines 83 to 88 in 68444ec
I don't have a quick test to run on them, so if you do, please let me know, happy to add a test case. |
First. It is a very nice and useful project the modernization of the Dierckx routines, so, thanks.
A useful addition will be the calculation of the gradients for a gridded surface. The Dierckx parder function is already in fitpack_core, so it shouldn't be difficult. One has only to decide if one wants a different function or wants to add some optional arguments to the gridded_eval_ functions.
I may easily do it if you like.
The text was updated successfully, but these errors were encountered: