MathGroup Archive 2002

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

Search the Archive

Generating Two Unit Orthogonal Vectors to a 3D Vector

  • To: mathgroup at smc.vnet.net
  • Subject: [mg36352] Generating Two Unit Orthogonal Vectors to a 3D Vector
  • From: "David Park" <djmp at earthlink.net>
  • Date: Mon, 2 Sep 2002 04:09:23 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

There are many cases in graphics, and otherwise, where it is useful to
obtain two orthogonal unit vectors to a given vector. I know a number of
ways to do it, but they all seem to be slightly inelegant. I thought I would
pose the problem to MathGroup. Who has the most elegant Mathematica
routine...

OrthogonalUnitVectors::usage = "OrthogonalUnitVectors[v:{_,_,_}] will return
two unit vectors orthogonal to each other and to v."

You can assume that v is nonzero.

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



  • Prev by Date: Re: How to ...?
  • Next by Date: Re: How to ...?
  • Previous by thread: Re: Mathematica 4.2: Problem with online help.
  • Next by thread: Re: Generating Two Unit Orthogonal Vectors to a 3D Vector