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);

Parameters

  • _Rank
    The rank of the tuple arguments.

  • _Lhs
    The tuple from which the modulo is calculated.

  • _Rhs
    The tuple to modulo by.

Return Value

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

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

Concurrency Namespace (C++ AMP)