Compartilhar via


extent::operator- Operator

Creates a new extent object by subtracting each element in the specified index object from the corresponding element in this extent object.

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

Parameters

  • _Rhs
    The index object that contains the elements to subtract.

Return Value

The new extent object.

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

extent Class (C++ AMP)