STLdoc
STLdocumentation
Main Page
Namespaces
Classes
Files
Class List
Class Index
Class Hierarchy
Class Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Concurrency
details
_Array_flatten_helper
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
)
inline
static
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:
VS2015/inc/
xxamp.h
Generated on Mon Jul 24 2017 18:18:33 for STLdoc by
1.8.8