MathGroup Archive 2005

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

Search the Archive

Re: random array of n 2-tuples


Table[Random[Integer,{0,20}],{6},{2}]

{{2, 3}, {8, 6}, {7, 9}, {3, 19}, {0, 15}, {20, 11}}


Bob Hanlon

> 
> From: "elparedblanco" <cire1611 at gmail.com>
To: mathgroup at smc.vnet.net
> Date: 2005/01/27 Thu AM 05:41:04 EST
> To: mathgroup at smc.vnet.net
> Subject: [mg53804] [mg53771] random array of n 2-tuples
> 
> Sorry for the neophyte question.  I need an array of n 2-tuples in the
> form:  {{2,3},{5,1},{3,9}, etc.}.  Can someone show me how to do this.
> Thanks
> 
> 


  • Prev by Date: Re: Num. integration problem in Mathematica
  • Next by Date: Re: BDD
  • Previous by thread: Re: random array of n 2-tuples
  • Next by thread: Re: random array of n 2-tuples