Static Public Member Functions

gmtl::meta::LenSqrVecUnrolled< ELT, T > Struct Template Reference

meta class to unroll length squared operation. More...

#include <VecOpsMeta.h>

List of all members.

Static Public Member Functions

static T::DataType func (const T &v)

Detailed Description

template<int ELT, typename T>
struct gmtl::meta::LenSqrVecUnrolled< ELT, T >

meta class to unroll length squared operation.

Definition at line 38 of file VecOpsMeta.h.

Member Function Documentation

template<int ELT, typename T >
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); }

The documentation for this struct was generated from the following file: