meta class to unroll length squared operation. More...
#include <VecOpsMeta.h>
Static Public Member Functions | |
static T::DataType | func (const T &v) |
meta class to unroll length squared operation.
Definition at line 38 of file VecOpsMeta.h.
static T::DataType gmtl::meta::LenSqrVecUnrolled< ELT, T >::func | ( | const T & | v | ) | [inline, static] |
Definition at line 40 of file VecOpsMeta.h.
{ return (v[ELT]*v[ELT]) + LenSqrVecUnrolled<ELT-1,T>::func(v); }