MathGroup Archive 2005

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

Search the Archive

Re: simple question about random

  • To: mathgroup at smc.vnet.net
  • Subject: [mg58934] Re: [mg58894] simple question about random
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Sun, 24 Jul 2005 01:21:53 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200507230932.FAA28986@smc.vnet.net>
  • Reply-to: murray at math.umass.edu
  • Sender: owner-wri-mathgroup at wolfram.com

Table[Random[], {6}]

Or use whatever arguments in Random are relevant, e.g.:

Table[Random[Integer, {0, 100}], {6}]

Mazuego wrote:
> Hi all... The built-in function "Random" gives a random number in a chosen
> range. How can I have, for example, 6 random numbers with a single
> instruction? Thank you very much for your answers, and forgive me for the
> simple question, but I'm new in Mathematica...
> 
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: limit problem
  • Next by Date: Re: problem with Delete[]
  • Previous by thread: simple question about random
  • Next by thread: Re: simple question about random