Hello,
I would like to use CombinatorialFreeModule and other combinatorial
modules like group algebra. But there is always the same error when
calling .gens() (and the traceback is not so useful for explaining me
what should I do)... how do we use these objects ?
Thanks Vincent
sage:
Hi Vincent,
I think the following works:
sage: F = CombinatorialFreeModule(ZZ,(a,b))
sage: F.basis().keys()
{'a', 'b'}
sage: r = PermutationGroupElement((1,2)(3,4))
sage: u = PermutationGroupElement((1,3)(2,4))
sage: G = PermutationGroup([r,u])
sage: G.algebra(ZZ).basis().keys()
Permutation
Chers collègues,
Vous avez probablement entendu parler de Sage, un logiciel libre de
mathématiques qui combine la puissance de nombreux programmes libres dans
une interface commune, et qui s'est donné pour mission de créer une
alternative viable, libre et open source, à Magma, Maple, Mathematica