Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1997
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1997

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

Search the Archive

Possible problem with dimensions in matrix products

  • To: mathgroup at smc.vnet.net
  • Subject: [mg9211] Possible problem with dimensions in matrix products
  • From: slater at itp.ucsb.edu (Paul Slater)
  • Date: Tue, 21 Oct 1997 02:03:25 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

I have two 4-vectors (x and y) and a 4 x 4 matrix (Z). I want to compute
x.Z.y, giving me a scalar. If I assign numerical values to the (three)
parameters in x, y and Z, I do get a scalar.
However, if I do not, then MATHEMATICA tells me that the product x.Z.y
is a 3-vector (!!!!)

The entries of the matrix and vectors are complex numbers.

Paul Slater


  • Prev by Date: Colored ListDensityPlot
  • Next by Date: Re: Re: Useful Dumb User Questions
  • Previous by thread: Re: Colored ListDensityPlot
  • Next by thread: live and movie for SGI