operator% Operator (C++ AMP)

Computes the modulus of the first specified argument by the second specified argument.

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

The rank of the tuple arguments.

_Lhs

The tuple from which the modulo is calculated.

_Rhs

The tuple to modulo by.

The result of the first specified argument modulus the second specified argument.

Header: amp.h

Namespace: Concurrency

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft