template<class F>
F Vec3T< F >::l1 void   )  const [inline]
 

L-1 norm: sabsolute value of sum of elements in vector

Definition at line 91 of file vec3t.hpp.

References Vec3T< F >::_v, and abs().

00091 { F sum=F(0); for(int i=0; i<3; i++) sum=sum+abs(_v[i]); return sum; }


Generated on Sun Dec 4 18:13:14 2005 for common by  doxygen 1.4.5