Re: differentiate multivariable InterpolatingFunction?

*To*: mathgroup at smc.vnet.net*Subject*: [mg2251] Re: differentiate multivariable InterpolatingFunction?*From*: helgebe at ifi.uio.no (Helge Berglann)*Date*: Thu, 19 Oct 1995 01:37:37 -0400*Organization*: SUM/Bio

In article <DGKx16.Kx9 at wri.com>, bhunt at brians.umd.edu (Brian R. Hunt) wrote: > I am using Mathematica 2.2. It is possible to differentiate an > InterpolatingFunction of 1 variable, e.g. if u is an > InterpolatingFunction defined from 0 to 10, then I can ask for u'[3] > or define v[x_] = D[u[x],x] or whatever. > > If u is an InterpolatingFunction of 2 variables, is it possible, using > D or Derivative or something built-in, to get a numerical value for > the partial derivative of u with respect to it first argument at a > specific point? I have tried several plausible forms of syntax (and > no doubt several implausible ones as well), but no luck. > > Thanks in advance for any suggestions; an authoritative "it can't be > done" would also be helpful so I can stop trying. > > -- > Brian R. Hunt > bhunt at ipst.umd.edu There is a package available on mathsource, called DInterpolatingFunction.m TMJ4.2/Tutorials/Abbott/DInterpolatingFunction.m This package will do what you a ask for. Helge Berglann helgebe at ifi.uio.no Helge Berglann Tlf jobb 22854586 Tlf hjemme 22198579