Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Next permutation

by Cristoforo (Curate)
on Feb 25, 2019 at 20:58 UTC ( #1230528=note: print w/replies, xml ) Need Help??


in reply to Re: Next permutation
in thread Next permutation

That is called a cross product :-)

It doesn't give the permutation ( 3 * 2 * 1 = 3! ) (The permutation of 3 objects gives 6 tuples. The cross product gives 3 * 3 * 3 = 27 tuples).

Replies are listed 'Best First'.
Re^3: Next permutation
by Marshall (Canon) on Feb 25, 2019 at 21:46 UTC
    Ok. well anyway the OP divulged some more info about the his requirements at Re^2: Next permutation and I wrote some code in response to that. The OP wants some enhancements and I've asked the OP to give it a stab on his own. Let's see how that goes......
      I've asked the OP to give it a stab on his own. Let's see how that goes......

      To my knowledge, he's never posted any code; neither as a part of one of his (usually obscure and unexplained) requirements, nor as an answer to anyone else.

      I've avoided giving him the time of day for a long time now; as he would only then modify the requirements to the ToD on the south pole of Jupiter. In Tagalog.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
      In the absence of evidence, opinion is indistinguishable from prejudice. Suck that fhit
        Thanks on feedback, BrowserUK. I am mostly content with approach and algorithm rather than actual code.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2020-09-22 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (129 votes). Check out past polls.

    Notices?