 
 
 
 
 
 
Re: Re: Writing result of "Do" in a single List
- To: mathgroup at smc.vnet.net
- Subject: [mg55530] Re: [mg55512] Re: Writing result of "Do" in a single List
- From: DrBob <drbob at bigfoot.com>
- Date: Mon, 28 Mar 2005 02:42:07 -0500 (EST)
- References: <d1ed1u$f0e$1@smc.vnet.net> <200503270742.CAA06219@smc.vnet.net>
- Reply-to: drbob at bigfoot.com
- Sender: owner-wri-mathgroup at wolfram.com
That's very inefficient, both for you and for Mathematica.
Table[expr, {i, imin, imax, di}]
Bobby
On Sun, 27 Mar 2005 02:42:45 -0500 (EST), Robert G. Wilson v <rgwv at rgwv.com> wrote:
> Dear Sir,
>
> 	A solution that I use is:
>
> lst = {}; Do[ AppendTo[ lst, expr], {i, to limit}]; lst
>
> Sincerely yours,
>
> Bob.
>
>
> Laurent Feuz wrote:
>
>> Hi
>> When I am calculating values with the
>> Do[expr, {i, imin, imax, di}]
>> expression, I get single values as a result that are a pain to export.
>>
>> How can I write these values in a list that then can easily be exported?
>>
>> Thanks for any hints!
>> best
>> Laurent
>>
>
>
>
>
-- 
DrBob at bigfoot.com
- References:
- Re: Writing result of "Do" in a single List
- From: "Robert G. Wilson v" <rgwv@rgwv.com>
 
 
- Re: Writing result of "Do" in a single List

