incompatibility? between matrix and invert/invert_by_lu
Subject: incompatibility? between matrix and invert/invert_by_lu
From: andre maute
Date: Thu, 13 Aug 2009 17:33:51 +0200
On Thursday 13 August 2009, Barton Willis wrote:
> 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
Oh that, was quick,
Thanks
Andre
>
> -----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