MathGroup Archive 1996

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

Search the Archive

Combinations function?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg5447] Combinations function?
  • From: Erik Kulstad <erik at wb5fnd.tech.uh.edu>
  • Date: Sat, 7 Dec 1996 00:26:23 -0500
  • Organization: University of Houston
  • Sender: owner-wri-mathgroup at wolfram.com

There is already a function to obtain the number of permutations possible
from a set (or list); but does anyone know of a function to obtain the
combinations?

For example, if the set is {a,b,c,d}, I want to list all 3-member
combinations possible, yielding {{a,b,c},{a,b,d},{a,c,d},{b,c,d}}. 


Thanks in advance,
Erik Kulstad




  • Prev by Date: Re: Graphics3D
  • Next by Date: Abs[]
  • Previous by thread: Re: Graphics3D
  • Next by thread: Re: Combinations function?