MathGroup Archive 2003

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

Search the Archive

Re: Functions with initial values

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43768] Re: [mg43727] Functions with initial values
  • From: YAT <Yasvir-Tesiram at omrf.ouhsc.edu>
  • Date: Fri, 3 Oct 2003 02:28:53 -0400 (EDT)
  • References: <200310020651.CAA15196@smc.vnet.net>
  • Reply-to: yat at omrf.ouhsc.edu
  • Sender: owner-wri-mathgroup at wolfram.com

Fold and FoldList may help you out and they're very efficient.

Yas

josef hader wrote:
> I am trying to evaluate a function f[x_i] on a list of values x_i
> generated by Table[] and store it in a list {x_i,f[x_i]}. However, in
> order to evaluate the function at x_i, I need some initial values
> which are by-products of the evaluation at x_(i-1). Any suggestions
> how to implement this in mathematica in an efficient way?
> 
> thank you!
> j.h.
> 


  • Prev by Date: Re: Help to solve numerical equation
  • Next by Date: Re: Derivative
  • Previous by thread: Functions with initial values
  • Next by thread: Mathematica stops unexcepted without error and clears variables