alex wrote: > How can i compute the matrix multiplication (product) of two symbolic > matrices in sage ? > > I have tried: > A = maxima("matrix ([a, b], [c, d])") > AI= A.invert() > > and > A * AI > gives > matrix([a*d/(a*d-b*c),-b^2/(a*d-b*c)],[-c^2/(a*d-b*c),a*d/(a*d-b*c)]) > > so * is not the matrix product.
For the record, "." is the noncommutative product operator in Maxima (while "*" is commutative). Dunno if it matters, hope this helps. Robert Dodier --~--~---------~--~----~------------~-------~--~----~ 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 URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---