List Commands Library for 50g
|
08-31-2017, 11:53 PM
Post: #105
|
|||
|
|||
RE: List Commands Library for 50g
(08-31-2017 08:12 PM)pier4r Wrote: If I do: The number of combinations of n elements taken m at a time is mathematically defined as: \[C_{n,m} = \frac{n!}{m!\cdot(n-m)!}\] This is the same equation that the built-in COMB command uses. Any result for DOCOMB that had a different number of combinations sent to the user program would simply be wrong (IMHO). What to do about duplicates in the result list (if anything) is entirely dependent on the problem itself, and should not be assumed by the internals of DOCOMB. Same applies to DOPERM. Depending on the problem, those duplicates may actually be exactly what you are looking for. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)