MathGroup Archive 2002

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

Search the Archive

Re: Matrix

  • To: mathgroup at smc.vnet.net
  • Subject: [mg34851] Re: Matrix
  • From: Peter <peter1963 at totalise.co.uk>
  • Date: Sun, 9 Jun 2002 05:10:29 -0400 (EDT)
  • References: <adsk2v$pnp$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Pirc wrote:
 > If matrix A = ((1, 1) (1, 0)), Mathematica reports A * A as A.
 >
 > Shouldn't A * A = ((2, 1) (1, 0))?
 >
 > What am I missing?
 >
 > Thanks.
 >

Hi Pirc,

the Operator * (Times) multiplies the (scalar) elements in corresponding
positions. What you've got is {{1*1,1*1},{1*1,0*0}}. For multiplication
of matrices use A.A (Dot[A,A]). This shoud give the expected result.

Peter



  • Prev by Date: Re: mice wheels
  • Next by Date: Re: Matrix
  • Previous by thread: Re: Matrix
  • Next by thread: RE: Matrix