Re: Combinatorics question



I understood the general method, but I don't quite get the Python
algorithm. Let's see, you first create some kind of vector with all
combinations of S elements, that is, size 2^S, filled with binaries.
You then enter the method for those with popcount=4. But I don't get
what gmpy is, nor the_combos; is it a string, integer...?
.



Relevant Pages

  • String similarity
    ... The algorithm that I have chosen for the comparison between string was ... Python reducing the code from 1394 lines of "C" to 152 lines of Python ... Initially I have rearranged part of "C" code in one module "simil" ... Comparing string this is not possible and the only way that I have found ...
    (comp.lang.python)
  • Re: How do I know the text or number within cell?
    ... Excel looks at the first character and will sort the string beginning with 2 before the string starting with 5 ... A general method might be to pad all string with 0's in the front to form a standard length string... ... You won't be able to do that in Excel. ...
    (microsoft.public.excel.misc)