From: Juan Alfredo Freites (jfreites_at_ea.nacs.uci.edu)
Date: Mon Feb 16 2004 - 21:54:55 CST

Dear John and VMD users,

In some instances veclegth isn't giving me the right answer, here is an
example

veclength {2.37137085199 0.000350952148438}
2.37137079239

we can see that is wrong because the answer is less than one the
components, conventional expr{} gives the right answer

expr
{sqrt((2.37137085199*2.37137085199)+(0.000350952148438*0.000350952148438))}
2.37137087796

but it's twice more expensive than veclength. I also tried veclength [list
...] so as to avoid any ambiguity, but got the same result.

any thoughts?

-- 
J. Alfredo Freites
Department of Physics
University of California, Irvine
Irvine, CA 92697-4575
(949) 824-9921