search for: algdesignmanual

Displaying 1 result from an estimated 1 matches for "algdesignmanual".

2006 Dec 13
1
combinations of m objects into r groups
Hi! Suppose I have m objects. I need to find out what are all possible ways I can group those m objects into r groups. Moreover, I need to create a matrix that contains what those arrangements are. I've created code for when r=2 but I've come to a halt when trying to generalize it into r groups. For example, if I have m=6 objects and I want to arrange them into groups of r=2, there