STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Static Public Member Functions | List of all members
Concurrency::details::_Array_flatten_helper< _Rank, _T1, _T2 > Struct Template Reference

#include <xxamp.h>

Static Public Member Functions

static _T2 func (const _T1 *_Multiplier, const _T2 *_Index) __GPU
 

Member Function Documentation

template<int _Rank, typename _T1 , typename _T2 >
static _T2 Concurrency::details::_Array_flatten_helper< _Rank, _T1, _T2 >::func ( const _T1 *  _Multiplier,
const _T2 *  _Index 
)
inlinestatic
925  {
926  typename _T2 _Offset = _Index[_Rank - 1];
927  for (int _I = 0; _I < (_Rank - 1); _I++)
928  {
929  _Offset += (_Multiplier[_I] * _Index[_I]);
930  }
931  return _Offset;
932  }

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