Поделиться через


extent::operator-= Operator

Subtracts the specified number from each element of the extent object.

extent<_Rank>& operator-=(
   const extent<_Rank>& _Rhs
) restrict(amp,cpu);

extent<_Rank>& operator-=(
   const index<_Rank>& _Rhs
) restrict(amp,cpu);

extent<_Rank>& operator-=(
   int _Rhs
) restrict(amp,cpu);

Parameters

  • _Rhs
    The number to subtract.

Return Value

The resulting extent object.

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

extent Class (C++ AMP)