We are talking about making a PR, am I right ? So, I guess, there is no way to do this at the moment.
Isn’t there any way to combine multiple UnivariateDifferentiableFunction and/or DerivativeStructure computed on different free parameters (es x and y) ? I dunno if I am exaplining this correctly : I am talking about using a SplineInterpolator to compute multiple SplineInterpolatorFunction, one for each row and column of the grid … Can this make sense ? Anyway I’ll take a look at the source code and try to understand what’s needed to make BicubicInterpolatingFunction an implementation for that new interface BivariateDifferentiableFunction. Thank you Alessandro Da: Gilles Sadowski<mailto:gillese...@gmail.com> Inviato: mercoledì 20 luglio 2022 14:10 A: Commons Users List<mailto:user@commons.apache.org> Oggetto: Re: [math] Compute derivatives for bidimensional interpolated function Hello. Le mer. 20 juil. 2022 à 12:29, Alessandro Moscatelli <alessandro.moscate...@live.com> a écrit : > > Hi everybody ! > > I have an xyz grid of points. > I want to interpolate and compute derivations along x, along y, and along xy. > > If I understood correctly, I can’t use PiecewiseBicubicSplineInterpolator > (this was my first attempt), since it interpolates into > PiecewiseBicubicSplineInterpolatingFunction which doesn’t implements > MultivariateDifferentiableFunction . > > I need a function able to return DerivativeStructure, am I right ? I think so. > > Then I double checked and found a deprecated BicubicSplineInterpolator. > That interpolator lets me directly compute derivatives I need. This class does not exist in the development version that will become the next major version (4.0). > Am I missing something ? > How can I do what I need without using deprecated BicubicSplineInterpolator. As you suggest, it would be great that you explore how to provide access to the derivatives (which the interpolating functions are able to compute, since they are polynomials). A minimal change would perhaps be that "BicubicInterpolatingFunction" implements a new "BivariateDifferentiableFunction" interface: ---CUT--- public interface BivariateDifferentiableFunction extends BinaryOperator<DerivativeStructure,DerivativeStructure,DerivativeStructure> {} ---CUT--- Regards, Gilles --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org