Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

(tye)Re: Combinatorics

by tye (Sage)
on Aug 22, 2002 at 03:10 UTC ( [id://191912]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub genFixedSubsets
    {
        my( $size, @set )= @_;
    ...
    while(  @subset= $gen->()  ) {
        print "@subset\n";
    }
    
  2. or download this
    $ subsets 3 5
    3 2 1
    4 2 1
    ...
    5 3 2
    5 4 2
    5 4 3
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://191912]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-03-29 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found