RE: Values from InterpolatingFunction
- To: mathgroup@smc.vnet.net
- Subject: [mg11855] RE: [mg11847] Values from InterpolatingFunction
- From: "jmt" <jmthomas@cybercable.tm.fr>
- Date: Fri, 3 Apr 1998 03:45:19 -0500
Try this: Here is a possible definition for an interpolating function: d=Sort@Table[{Random[Real,{0,0.365}],Random[]},{10}] f[x_]=(Interpolation@d)[x] Here is the derivative: g[x_]=D[f[x],x] Here is a list of points (might be outside the definition domain) sp=Table[Random[Real,{0,0.365}],{5}] Here are the values at these points: Map[g,sp] Hope this helps, **************************************** Jean-Marie THOMAS Conseil et Audit en Inginierie de Calcul Strasbourg, France **************************************** -----Original Message----- From: Volker Doerr [mailto:vd@cascade.de] To: mathgroup@smc.vnet.net Subject: [mg11855] [mg11847] Values from InterpolatingFunction Hello to all, I have the following InterpolatingFunction[{{0.,365.}},<>][t] produced by Function D from another InterpolatingFunction, and want simply to get the approximate values at specific points. I cannot find a direct solution, probably because the function has symbolic form. Anybody out there who can help me? Thanx a lot, V o l k e r vd@cascade.de