MathGroup Archive 2008

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

Search the Archive

Shuffle problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84960] Shuffle problem
  • From: angela <mpopyft at lycos.com>
  • Date: Mon, 21 Jan 2008 04:11:35 -0500 (EST)

Hi;

  Is there a way to get Mathematica 6.01 to randomly shuffle a list: Is there a built in command that I am blind to?

For example:

{t,t,t,h,h,h}  would become something like {t,h,h,t,t,h}

The lists are of arbitrary length. I wrote my own function but it is kind of slow.

Thanks;
Angela


  • Prev by Date: How remove CellChangeTimes values?
  • Next by Date: Help with Eliminate[]
  • Previous by thread: Re: How remove CellChangeTimes values?
  • Next by thread: Re: Shuffle problem