Re: simple question about random
- To: mathgroup at smc.vnet.net
- Subject: [mg58960] Re: simple question about random
- From: ggroup at sarj.ca
- Date: Mon, 25 Jul 2005 01:12:14 -0400 (EDT)
- References: <dbv954$eah$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi David, Why wouldn't a Do/For loop work? The following seem to work just fine, even if they are somewhat bulky and inefficient. rand={}; Do[rand=Prepend[rand,Random[]],{6}]; rand1={}; For[i=1,i=6,i++,rand1=Prepend[rand1,Random[]]]; I personally would use Table or RandomArray, but...
- Follow-Ups:
- Re: Re: simple question about random
- From: Murray Eisenberg <murray@math.umass.edu>
- Re: Re: simple question about random