MathGroup Archive 2006

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

Search the Archive

Re: Recalculating values in tables?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63921] Re: Recalculating values in tables?
  • From: AES <siegman at stanford.edu>
  • Date: Sun, 22 Jan 2006 00:52:35 -0500 (EST)
  • Organization: Stanford University
  • References: <dqqbtt$lu1$1@smc.vnet.net> <dqsp9u$ccv$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In article <dqsp9u$ccv$1 at smc.vnet.net>, Peter Pein <petsie at dordos.net> 
wrote:

>   if I understand you correctly, you want
> 
> Table[
>    Module[{g1,g2,g3},
>      initialExpressions;
>      {g1,g2,g3}={f1,f2,f3};
>      {g1, g2, Sqrt[(g1-g2)/(g1*g2)]}],
>   {iterator}]
> ?

Yup, that's it -- and a neat way to express it in a compressed form 
(though I might also, in some cases, expand out the {g1,g2,g3} into 
separate lines for "readability").


  • Prev by Date: Re: Simplifying the root of a quadratic
  • Next by Date: Re: GUIKit - Number of digits
  • Previous by thread: Re: Recalculating values in tables?
  • Next by thread: Re: Re: Recalculating values in tables?