meta class to unroll dot products. More...
#include <VecOpsMeta.h>
Static Public Member Functions | |
static T1::DataType | func (const T1 &v1, const T2 &v2) |
meta class to unroll dot products.
Definition at line 22 of file VecOpsMeta.h.
static T1::DataType gmtl::meta::DotVecUnrolled< ELT, T1, T2 >::func | ( | const T1 & | v1, | |
const T2 & | v2 | |||
) | [inline, static] |
Definition at line 24 of file VecOpsMeta.h.
{ return (v1[ELT]*v2[ELT]) + DotVecUnrolled<ELT-1,T1,T2>::func(v1,v2); }