Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2017-07-25 19:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (377 votes). Check out past polls.