MathGroup Archive 2003

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

Search the Archive

Re: Do Loop storing the outputs

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39039] Re: [mg39019] Do Loop storing the outputs
  • From: Kirk Reinholtz <kirk.reinholtz at jpl.nasa.gov>
  • Date: Sat, 25 Jan 2003 01:25:36 -0500 (EST)
  • References: <200301241008.FAA04694@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

{#1, #1^2, #1^3} &@Range[1,manytimes] might be an example of how to
approach this.  Or NestList often is useful for this sort of operation.

Dimitris Psychoyios wrote:
> 
> I have the following problem in a do loop. I want to repeat a procedure
> that involves many functions many times, but I need to store the values
> of the functions in a matrix after each iteration.
> 
> Thank you in advance,
> 
> Dimitirs Psychoyios


  • Prev by Date: Re: Functional programming
  • Next by Date: Re: Functional programming
  • Previous by thread: Do Loop storing the outputs
  • Next by thread: Re: Do Loop storing the outputs