Luis, I get:
sage: ... sage: a=3*e2*e1 + 4*e1 sage: a 2 4x e - 3x e e 1 1 2 --- I notice you are using sage-3.1.4. That should be fine. In the example above I am using 3.1.3 but it includes the patches done by Mike Hansen http://trac.sagemath.org/sage_trac/ticket/4036 that are not yet in the Sage distribution (review needed). See also http://trac.sagemath.org/sage_trac/ticket/4633 The error message you show seems typical of the problems that these patches solve. Regards, Bill Page. On Sat, Jan 17, 2009 at 9:47 AM, luis wrote: > > Hi Bill, > > Thanks for your answer. Yes, it seems to be a good answer > to my question. > I have however a problem. The error message is included > below. Do you have some idea? > > Regards, > > Luis > > ------ > .... > sage: e1=axiom('x*e(1)$%s'%(LambdaK.name())) > sage: e2=axiom('x*e(2)$%s'%(LambdaK.name())) > sage: e3=axiom('x*e(3)$%s'%(LambdaK.name())) > sage: e4=axiom('x*e(4)$%s'%(LambdaK.name())) > sage: a=3*e2*e1 + 4*e1 > --------------------------------------------------------------------------- > TypeError Traceback (most recent call > last) > > /home/luis/sage-3.1.4-debian32-IntelXeon-x86-i686-Linux/<ipython > console> in <mo dule>() > > /home/luis/sage-3.1.4-debian32-IntelXeon-x86-i686-Linux/local/lib/ > python2.5/site -packages/sage/structure/element.so in > sage.structure.element.RingElement.__mul_ _ (sage/structure/element.c: > 8187)() > > /home/luis/sage-3.1.4-debian32-IntelXeon-x86-i686-Linux/local/lib/ > python2.5/site -packages/sage/structure/coerce.so in > sage.structure.coerce.CoercionModel_cache_ maps.bin_op (sage/structure/ > coerce.c:5559)() > > TypeError: unsupported operand parent(s) for '*': 'Integer Ring' and > 'Axiom' > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---