Multiplying matrices



On Wed, 2011-07-20 at 21:11 +1000, Daniel Dalton wrote:
> (%i3) C:A*B;
> 
> fullmap: arguments must have same formal structure.
>  -- an error. To debug this try: debugmode(true);
> (%i4) 
> 
> And as you can see when multiplying the matrices I get this error.
> Does
> anyone have any ideas of what I'm doing wrong? 
Hi Daniel,
you should use a dot, rather than an asterisk:
(%i3) C:A.B;

when you use *, Maxima tries to multiply each two elements in the same
position of the 2 matrices, rather than doing a matrix multiplication.
Cheers,
Jaime