operator% 運算子 (C++ AMP)
計算第一個指定引數除以第二個指定引數的模數。
template <
int _Rank,
template <int> class _Tuple_type
>
_Tuple_type<_Rank> operator%(
const _Tuple_type<_Rank>& _Lhs,
typename _Tuple_type<_Rank>::value_type _Rhs
) restrict(amp,cpu);
template <
int _Rank,
template <int> class _Tuple_type
>
_Tuple_type<_Rank> operator%(
typename _Tuple_type<_Rank>::value_type _Lhs,
const _Tuple_type<_Rank>& _Rhs
) restrict(amp,cpu);
參數
_Rank
Tuple 引數的陣序。_Lhs
從中計算模數的 Tuple。_Rhs
模數運算的 Tuple。
傳回值
第一個指定引數對第二個指定引數計算模數的結果。
需求
**標頭:**amp.h
**命名空間:**並行