Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Extendable pairwise indexes - prior work?

by blokhead (Monsignor)
on Apr 04, 2007 at 01:46 UTC ( #608176=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub rank {
        my @comb = sort { $a <=> $b } @_;
        sum map { binomial( $comb[$_]-1, $_+1 ) } 0 .. $#comb;
    }
    
  2. or download this
      binomial(X,2)+binomial(Y,1) = X(X-1)/2 + Y
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-07-13 17:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (251 votes), past polls