Hi, FXT [1] that Nathan mentioned seems very nice... and GPL... but is not yet a standard spkg of Sage! Does it make sense to create a spkg for it ? It is mentionned on trac only in #7656 about bitsets.
Best Vincent [1] http://www.jjj.de/fxt/fxtpage.html 2013/12/6, Nathann Cohen <nathann.co...@gmail.com>: > Yooooooooo !! > >> Yes indeed -- with a formula like that, there's little reason not to >> implement it ad-hoc every time. Unless a user wants it, and doesn't >> know this bit of information. Though... what Nathannnnnn said was >> that he wants to know which bit changes... >> >> (i.valuation(2) for i in srange(1,2^n)) >> >> does the job -- though this can certainly be implemented better. > > Well, it's true that the one-liner simplifies a lot of things :-D > > There are good implementations there if we need them in some fast C > code though : www.jjj.de/fxt/fxtbook.pdf > > But my problem is solved ! Thanks :-D > > Nathann > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.