Re: Quick Question
- To: mathgroup at smc.vnet.net
- Subject: [mg78136] Re: [mg78090] Quick Question
- From: DrMajorBob <drmajorbob at bigfoot.com>
- Date: Sat, 23 Jun 2007 07:19:59 -0400 (EDT)
Sort[{1, 2, 3, 4, 5, 6}, Random[] < 1/2 &]
{2, 5, 6, 1, 3, 4}
Bobby
On Fri, 22 Jun 2007 05:50:37 -0500, rob cronin <cronin_rob at hotmail.com>
wrote:
> Quick Question:
>
> With Mathematica 5.2 is there any way to scramble a simple list of
> numbers:
> i.e. randomly rearange the list {1,2,3,4,5,6} without any apparent order.
>
> Kind regards
>
> _________________________________________________________________
> Get a preview of Live Earth, the hottest event this summer - only on MSN
> http://liveearth.msn.com?source==msntaglineliveearthhm
>
>
>
--
DrMajorBob at bigfoot.com