MathGroup Archive 1999

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

Search the Archive

Re: Magnitude of Vector

  • To: mathgroup at smc.vnet.net
  • Subject: [mg19382] Re: [mg19339] Magnitude of Vector
  • From: BobHanlon at aol.com
  • Date: Mon, 23 Aug 1999 13:57:04 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Ed,

mag[x_?VectorQ] := Sqrt[x.x]

mag[{x, y, z}]

Sqrt[x^2 + y^2 + z^2]

Bob Hanlon

In a message dated 8/21/99 2:50:10 AM, emcbride at wybron.com writes:

>Was doing some stuff that required 3-D vectors.  Found Dot and Cross,
>but couldn't find a primitive operator for Magnitude.  Is there one?  If
>not, there definitely should be.  Ed McBride, P.E.
>


  • Prev by Date: FactorIntegerECM
  • Next by Date: Re: AxesLabel with greek letter
  • Previous by thread: Magnitude of Vector
  • Next by thread: Re: Magnitude of Vector