Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: random array of n 2-tuples

  • To: mathgroup at smc.vnet.net
  • Subject: [mg53804] Re: [mg53771] random array of n 2-tuples
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Fri, 28 Jan 2005 02:43:48 -0500 (EST)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

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