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.
>
- References:
- Functions with initial values
- From: gary.larson@gmx.at (josef hader)
- Functions with initial values