MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

mathematica newbie question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66879] mathematica newbie question
  • From: "Jeremy Watts" <jwatts1970 at hotmail.com>
  • Date: Fri, 2 Jun 2006 04:09:08 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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



  • Prev by Date: calling mathematica functions from a c++ program
  • Next by Date: netCDF Import to Mathematica, perhaps via HDF or HDF5 file
  • Previous by thread: Re: calling mathematica functions from a c++ program
  • Next by thread: Re: mathematica newbie question