. do not work.
I have tried
A.AI
A . AI
and
maxima("A.AI")
please help me
thx
On Mar 9, 5:58 am, Robert Dodier <[email protected]> wrote:
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---