MathGroup Archive 2005

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

Search the Archive

Re: simple question about random


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