From: Amitha Perera <perera@cs...>  20011029 20:03:37

> Apparently this is meant to give "symmetric" output, i.e., > angle(a,b) == angle(b,a). By definition of the cos_angle, it is already symmetric: cos_angle(a,b) = cos_angle(b,a) = a.b/(ab). The current implementation gives ^ / / A / B </..... B as the "angle", which is the smallest angle provided the "vectors" are undirected. Is this what is intended? I think it should simply be acos( a.b / ab ) since that is what most people refer to as the angle between two vectors. Amitha. 