Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Why reinvent the wheel?

by DentArthurDent (Monk)
on Mar 21, 2005 at 16:59 UTC ( #441233=note: print w/ replies, xml ) Need Help??


in reply to A bad shuffle

I've done some research on combinations and permuations in perl, and after a bit of hunting, I found:

Math::Combinatorics

This should do exactly what you want. I must say however, that I've never used it, so I don't know about it's relative speed and so on.

----
My mission: To boldy split infinitives that have never been split before!


Comment on Why reinvent the wheel?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2015-07-06 06:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls