Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1995
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1995

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

Search the Archive

Choose/Combination function in mathematica

  • To: mathgroup at christensen.cybernetics.net
  • Subject: [mg865] Choose/Combination function in mathematica
  • From: John Walsh <zed at maths.tcd.ie>
  • Date: Thu, 27 Apr 1995 01:37:33 -0400
  • Organization: Dept. of Maths, Trinity College, Dublin, Ireland.

Hi,
I have recently being assigned a problem, part of which involves taking 20
numbers (say) and generating all combinations of 7 numbers from them.  
The closest thing that I can find to the chose(combination) function in 
mathematica is the Permutations[list] function. Is there an easy and efficient 
way of doing this in Mathematica or is there a package available  
that has a choose(combination) function defined in it?

regards,
John

-- 
-------------------------------------------------------------------------
John Walsh, (zed at maths.tcd.ie)  | Make a Jazz noise here ->
Trinity College Dublin.         | http://www.maths.tcd.ie/hyplan/zed/zed.html 


  • Prev by Date: Re: CHAOS & MATH
  • Next by Date: [Q] How to use NonlinearFit[...]
  • Previous by thread: Tick marks on Axes AND Frame?
  • Next by thread: [Q] How to use NonlinearFit[...]