template<class F>
F operator * const Vec2T< F > &  a,
const Vec2T< F > &  b
[inline]
 

Overloaded "*" numerical operation. Return a[0]*b[0] + a[1]*b[1]

Definition at line 151 of file vec2t.hpp.

00151                                                                              {
00152   F sum=F(0); for(int i=0; i<2; i++) sum=sum+a(i)*b(i); return sum;
00153 }


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