Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

Row & Column Vectors, Dot & Outer Products, Revisited

One of the recent Mathetmatica 3.0 books (sorry, don't have it at hand,
so can't credit it properly), points out that if you define row vectors
in the form


and column vectors in the form


(note the extra curly brackets in both cases), then both the dot
product, namely,

      dotProduct = rowVector . columnVector;

and the outer product, e.g.,

      outerProduct = columnVector . rowVector;

will work exactly as you expect them to.  Can't say how far this can be
extended into more complex tensor situations, however -- or how much
trouble you'll run into getting rid of the extra brackets in subsequent

  • Prev by Date: Re: ``flattening" systems of equations
  • Next by Date: RE: ListPlot
  • Prev by thread: Re: postscript file output problem [help]
  • Next by thread: RE: "flattening" systems of eq