MathGroup Archive 1999

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

Search the Archive

Re: Magnitude of Vector

  • To: mathgroup at smc.vnet.net
  • Subject: [mg19406] Re: [mg19339] Magnitude of Vector
  • From: "David Park" <djmp at earthlink.net>
  • Date: Mon, 23 Aug 1999 13:57:18 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

>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.
>
Ed,

You will often have to define operations which you might think Mathematica should
have provided. But it is easy enough...

vectornorm[v_List] := Sqrt[v.v]

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/



  • Prev by Date: Re: Simulation
  • Next by Date: Up-Values with GroebnerBasis
  • Previous by thread: Re: Magnitude of Vector
  • Next by thread: RE: Magnitude of Vector