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

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

Definition at line 88 of file vec2t.hpp.

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

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

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