Ah, I understand. Thank you for your help :) -Jim
On Jan 17, 4:10 pm, Maarten Derickx <m.derickx.stud...@gmail.com> wrote: > Dear Jim, > > The problem is that kQ.gens()[0] is not an element of the kQ.monoid() as is > required as said in the documentation and the examples. To fix your problem: > > sage: kQ = FreeAlgebra(QQ ,2 , 'x') > sage: gens=kQ.monoid().gens() > sage: mons = [gens[0], gens[1], gens[0]*gens[1]] > sage: mats = [Matrix(QQ,3,[1, 0, 0, 0, 1, 0, 0, 0, 0]), Matrix(QQ, 3, [0, > 0, > ....: 0, 0, 0, 0, 0, 0, 1])] > sage: A = FreeAlgebraQuotient(kQ, mons, mats, 'x') > sage: A.gens()[0]*A.gens()[1] > 0 -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org