MathGroup Archive 1997

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

Search the Archive

Re: REQ: Algorythm for combinations


marc borms wrote:

> Hi,
>
> who knows the algorythm or a program to print out
> all possible combinations of x elements ?
>
> Please send some private email too.
>
> Thanks a lot,
>
> marc

Here are two methods:

Outer[List[Array[s,{6}],Array[s,{5}]

or

Distribute[List[Array[s,{6}],Array[s,{5}],List]




  • Prev by Date: importing images
  • Next by Date: Re: Defining Real expressions
  • Previous by thread: Re: importing images
  • Next by thread: Q. re results from Regression[ ]