Re: math combinations
- Posted by Kat <gertie at PELL.NET> May 26, 2002
- 469 views
On 27 May 2002, at 3:57, tone.skoda at siol.net wrote: > > How would I write a routine which would shuffle all members in a sequence so > that all possible combinations would be gotten? Also, input sequence could > have > two or more equal members. > > For example, all combinations for {'a','b','c'} would be: > {'a','b','c'} > {'a','c','b'} > {'b','a','c'} > {'b','c','a'} > {'c','b','a'} I think it was Jiri who wrote a mesh.e, it's in the archives somewhere. Kat