For the matrix " matrix M =([m,0],[0,m]), the power M^n is determined correctly.
However, for other matrices, e.g. P =([3,1],[1,3])Maxima determines P^2 as matrix([9,1],[1,9]), instead of the correct: matrix([10,6],[6,10])
I haven't tried multiplying more general matrices, but does this mean there is a problem with matrix multiplication?
Maxima build as follows:
Maxima version: 5.15.0
Maxima build date: 17:36 4/20/2008
host type: i686-pc-mingw32
lisp-implementation-type: GNU Common Lisp (GCL)
lisp-implementation-version: GCL 2.6.8