Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Generator of integer partitionts of n

by hv (Parson)
on Aug 28, 2004 at 02:20 UTC ( #386537=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      @aa = @bb = (1) x $nn;
    
  2. or download this
      push @ready, "@aa\n";
      ...
      push @ready, "@aa\n";
      ...
      push @ready, "@bb\n";
    
  3. or download this
      for (my $kk = $nn; $kk > 0; --$kk) {
        ...
      }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://386537]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2017-07-21 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (321 votes). Check out past polls.