[Maxima] Maxima Digest, Vol 39, Issue 72(how to address a specific element from a matrix)
=?big5?B?tsAguM62rw==?=
bear.tw at hotmail.com
Thu Oct 29 09:25:58 CDT 2009
I think that is mymatrix[3,2] is not mymatrix[3][2].
(%i7) A:matrix([1,2],[3,4],[5,6]);
A[3,2];
A[2,1];
(%o7) matrix([1,2],[3,4],[5,6])
(%o8) 6
(%o9) 3
> > Message: 2
> Date: Thu, 29 Oct 2009 12:51:06 +0100 (CET)
> From: Hugo Coolens <coolens at kahosl.be>
> Subject: [Maxima] [newbie] how to address a specific element from a
> matrix
> To: "'Maxima List'" <maxima at math.utexas.edu>
> Message-ID: <alpine.DEB.1.10.0910291246380.19745 at allserv.kahosl.be>
> Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
>
> I entered a set of matrices without a problem, but after manipulating them
> I need to address only some elements of the matrix.
> How do I get i.e. the element on the third row and the second column.
>
> I tried things like u_32: mymatrix [3][2];
>
> but that doesn't work
>
> any help?
>
> thanks in advance
> hugo
_________________________________________________________________
¥Î³¡¸¨®æ¤À¨É·Ó¤ù¡B¼vµ¡B½ì¨ý¤p¤u¨ã©M³Ì·R²M³æ¡AºÉ±¡¨q¥X§A¦Û¤v ¡X Windows Live Spaces
http://home.spaces.live.com/?showUnauth=1&lc=1028
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.math.utexas.edu/pipermail/maxima/attachments/20091029/b5cc4a17/attachment.htm
More information about the Maxima
mailing list