Hi sage-support readers, I would like to know if there is any way to construct special matrices as follows:
Start with a FreeMonoid on n generators a,b,c,.... Now (like in the case of a group ring) form linear combinations with NON-NEGATIVE integer coeffs of elements of this FreeMonoid, an example of such an element would be 5*aa+2*ababba+ba (Is there a name for this algebraic structure?) What I would like to define in SAGE is the space of matrices with entries in those symbolic linear combinations, where the usual arithmetic operations for matrices like sum, product etc. are working. Is there any SAGE class which is close to doing this? If not (i.e. if I have to implement this algebraic construct), what base objects/classes should I use? Is it possible to define a class of matrices over algebraic structures which are not a ring (as in the case above)? Looking forward to any clues. Thanks. M. -- 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