MathGroup Archive 2003

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

Search the Archive

Re: Functions with initial values


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