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/
- Follow-Ups:
- Re: Generating Two Unit Orthogonal Vectors to a 3D Vector
- From: Daniel Lichtblau <danl@wolfram.com>
- Re: Generating Two Unit Orthogonal Vectors to a 3D Vector
- From: John Browne <jbrowne@swin.edu.au>
- Re: Generating Two Unit Orthogonal Vectors to a 3D Vector