MathGroup Archive 2007

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

Search the Archive

Re: Quick Question

Here's one way.  Probably can condense it down to a one-line command using short-cut commands:

<< DiscreteMath`Combinatorica`

mylist = {a, b, c, d, e, f, g}

indexlist = RandomPermutation[Length[mylist]]

newlist = Table[mylist[[indexlist[[i]]]], {i, 1, Length[mylist]}]

  • Prev by Date: Re: Re: Reproducible crash in version 6
  • Next by Date: Re: Quick Question
  • Previous by thread: Re: Quick Question
  • Next by thread: Re: Quick Question