index::operator(mod)= Operator

Calculates the modulus (remainder) of each element in the index object when that element is divided by the specified number.

index<_Rank>& operator%=(
   int _Rhs
) restrict(cpu, amp);

Parameters

  • _Rhs
    The number to divide by to find the modulus.

Return Value

The index object.

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

index Class