creating a permutation
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: creating a permutation

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Posts
    6

    creating a permutation

    Hi,

    I am trying to 10 different objects in the maximum different combinations, so 10! combinations, and be able to use each combination in my code. I hear you are supposed to used a factoradic representation of the number, but im not quite sure how to go about this?

    thanks in advance.

  2. #2
    Join Date
    Jul 2002
    Location
    Portsmouth. United Kingdom
    Posts
    2,722

    Re: creating a permutation

    "It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong."
    Richard P. Feynman

  3. #3
    Join Date
    May 2009
    Posts
    2,413

    Re: creating a permutation

    Quote Originally Posted by benbridle38 View Post
    I hear you are supposed to used a factoradic representation of the number, but im not quite sure how to go about this?
    http://en.wikipedia.org/wiki/Factoradic

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center