Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Re: Dont Understand
  • Next by Date: Re: Compiling a Module
  • Previous by thread: Re: interpolatingfunction
  • Next by thread: Re: interpolatingfunction