[Maxima] incompatibility? between matrix and invert/invert_by_lu
Barton Willis
willisb at unk.edu
Thu Aug 13 10:17:33 CDT 2009
The size of the matrix A is a 1 x 2 matrix; the 1,1 entry is the list [1,0]
and
the 1,2 entry is the list [0,1]. Maybe you wanted a 2x2 matrix:
(%i12) funmake('matrix,rows);
(%o12) matrix([1,0],[0,1])
(%i13) invert(%);
(%o13) matrix([1,0],[0,1])
Barton
-----maxima-bounces at math.utexas.edu wrote: -----
>(%i3) rows:[[1,0],[0,1]]
>(%o3) [[1,0],[0,1]]
(%i4) A:matrix(rows)
>(%o4) matrix([[1,0],[0,1]])
>(%i5) invert(A)
>
>incompatible dimensions - cannot multiply
More information about the Maxima
mailing list