Re: mathematica newbie question
- To: mathgroup at smc.vnet.net
- Subject: [mg66894] Re: mathematica newbie question
- From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
- Date: Sat, 3 Jun 2006 03:25:11 -0400 (EDT)
- Organization: Uni Leipzig
- References: <e5osv8$i51$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, Power[] had nothig to do with Dot[] you mean Dot[m,m] and not Power[m,2] and you should write this ... Regards Jens "Jeremy Watts" <jwatts1970 at hotmail.com> schrieb im Newsbeitrag news:e5osv8$i51$1 at smc.vnet.net... | Hi, | | Just trying to get to grips with Mathematica and matrices. Why is it when I | enter :- | {0, 0, 0}, {1, -1, -1}, {-1, 1, 1}}^2 | | then Mathematica returns :- | | {{0, 0, 0}, {1, 1, 1}, {1, 1, 1}} | | and not {{0,0,0},{0,0,0},{0,0,0}} (the actual square of the matrix) as I'd | have expected? | | Is it treating what I entered as separate vectors or something, and not an | actual matrix? | | Thanks | |