Re: Distance between to points in r^3
- To: mathgroup at smc.vnet.net
- Subject: [mg41588] Re: Distance between to points in r^3
- From: Bill Rowe <listuser at earthlink.net>
- Date: Wed, 28 May 2003 04:57:22 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On 5/27/03 at 1:47 AM, ronnyma at math.uio.no (Ronny Mandal) wrote: >Assume that I've got to vectors (3,4,5) and (6,7,8).How do I >calculate the distance between them? Assuming you want the Euclidean distance then Sqrt@Tr[#^2&/@(a-b)] where a and b are the vectors will do the trick