Hi, I begin with git so I'm not sure about what I did... but that code should work to use FQSym:
{{{ fqs = FQSym(QQ) }}} or {{{ from sage.combinat.hopf_algebras.fqsym import FreeQuasiSymmetricFunctions fqs = FreeQuasiSymmetricFunctions(QQ) }}} Then you could use bases like before... {{{ sage: F = fqs.F() sage: F[3,2,1] ** 2 F[3, 2, 1, 6, 5, 4] + F[3, 2, 6, 1, 5, 4] + F[3, 2, 6, 5, 1, 4] + F[3, 2, 6, 5, 4, 1] + F[3, 6, 2, 1, 5, 4] + F[3, 6, 2, 5, 1, 4] + F[3, 6, 2, 5, 4, 1] + F[3, 6, 5, 2, 1, 4] + F[3, 6, 5, 2, 4, 1] + F[3, 6, 5, 4, 2, 1] + F[6, 3, 2, 1, 5, 4] + F[6, 3, 2, 5, 1, 4] + F[6, 3, 2, 5, 4, 1] + F[6, 3, 5, 2, 1, 4] + F[6, 3, 5, 2, 4, 1] + F[6, 3, 5, 4, 2, 1] + F[6, 5, 3, 2, 1, 4] + F[6, 5, 3, 2, 4, 1] + F[6, 5, 3, 4, 2, 1] + F[6, 5, 4, 3, 2, 1] }}} Cheers, Jean-Baptiste Le mardi 4 février 2014 02:23:21 UTC+1, bump a écrit : > > We were trying to find FQSym in sage-git. We tried checking out the branch > u/elixyre/ticket/13793 but did not find the code we are looking for. We > were > hoping to find code for FreeQuasiSymmetricFunctions similar to this: > > https://bitbucket.org/nborie/cha > > Did we check out the wrong branch? > > On Thursday, December 20, 2012 9:40:10 AM UTC-8, Jean-Baptiste Priez wrote: >> >> I try to implement some hopf algebra: >> >> - FQSym >> - WQSym >> - PQSym >> - PBT >> >> The 3 firsts are in #13793 (no dependance in combinat) and PBT in #13855 >> (depends of binary_trees). >> >> To build these Hopf algebra, I implemented two new combinatoric objets : >> PackedWord for WQSym and ParkingFunctions for PQSym. >> >> FQSym is clean I think... with some bases. >> >> Please comment and help me to improve that. >> >> Jean-Baptiste Priez (phd student of F. Hivert and N.M. Thiéry) >> (Humm... Sorry for my bad english) >> > -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-combinat-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-combinat-devel. For more options, visit https://groups.google.com/groups/opt_out.