Evan Cooch <evan.cooch at gmail.com> writes:
> (forlack of a better descriptor)...
>
> I'm working on a problem which yields a result of the form
>
> [ [-203 -120]]
> 45 -20
>
> I can't quite draw it correctly here, but if double-click and copy
> from within wxMaxima, it yields the following
>
> [matrix([-203,-120],[45,-20])]
The set of brackets is probably denoting a list rather than a matrix. To
get hold of the contents, you just need the first item in the list, like
this:
(%i1) ans: [matrix([-203,-120],[45,-20])];
[ - 203 - 120 ]
(%o1) [[ ]]
[ 45 - 20 ]
(%i2) ans[1];
[ - 203 - 120 ]
(%o2) [ ]
[ 45 - 20 ]
(%i3) invert(ans[1]);
[ 1 6 ]
[ - --- --- ]
[ 473 473 ]
(%o3) [ ]
[ 9 203 ]
[ - ---- - ---- ]
[ 1892 9460 ]
Rupert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20130125/d3514ea9/attachment.pgp>