Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: How can one generate all possible permutations of r elements out of n where r<n?

by supriyoch_2008 (Monk)
on Feb 27, 2013 at 09:11 UTC ( #1020830=note: print w/replies, xml ) Need Help??


in reply to Re: How can one generate all possible permutations of r elements out of n where r<n?
in thread How can one generate all possible permutations of r elements out of n where r<n?

Hi BrowserUK,

Thank you very much for the code. But I am sorry that I do not understand the code as it does not start with #!/usr/bin/perl, the code I am a little acquainted with.

With regards.

  • Comment on Re^2: How can one generate all possible permutations of r elements out of n where r<n?

Replies are listed 'Best First'.
Re^3: How can one generate all possible permutations of r elements out of n where r<n?
by marto (Bishop) on Feb 27, 2013 at 09:21 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020830]
help
Chatterbox?
[LanX]: ... understood everything after mentally write down what he said.
[choroba]: Trainspotting?
[choroba]: Ouch, trailing commas in JSON :-(
[LanX]: ... though there seems to exist a taxation for the letter 't' in Northern Bri''ain ;-)
[LanX]: never seen trainspotting in OV ... :(
[karlgoethebier]: LanX
[LanX]: They should teach Scottish in continental schools after Brexit !!!

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2018-02-19 10:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (261 votes). Check out past polls.

    Notices?