Re: interpolatingfunction
- To: mathgroup at smc.vnet.net
- Subject: [mg15925] Re: interpolatingfunction
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 17 Feb 1999 23:33:57 -0500
- Organization: Universitaet Leipzig
- References: <7a2bg1$1th@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, suppose you have a result like sol={y[x] ->InterpolatingFunction[<>][x]} you can use y[x] /. sol /. x-> 3 to calculate y[3] or you can use ysol=y[x] /. sol; Table[ysol ,[x,0,3,0.1}] to get a table. Hope that helps Jens phpcp at csv.warwick.ac.uk wrote: > > hi all, > > i solved a d.e. using NDSolve and got a solution in > InterpolatingFunction form. How can i define this as a function that > returns values using an argument. > > thanks, > sanjay