Static Public Member Functions

gmtl::meta::DotVecUnrolled< ELT, T1, T2 > Struct Template Reference

meta class to unroll dot products. More...

#include <VecOpsMeta.h>

List of all members.

Static Public Member Functions

static T1::DataType func (const T1 &v1, const T2 &v2)

Detailed Description

template<int ELT, typename T1, typename T2>
struct gmtl::meta::DotVecUnrolled< ELT, T1, T2 >

meta class to unroll dot products.

Definition at line 22 of file VecOpsMeta.h.


Member Function Documentation

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


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