Export (0) Print
Expand All

array_view::section Method

Returns a subsection of the array_view object that's at the specified origin and, optionally, that has the specified extent.

array_view section(
   const Concurrency::index<_Rank>& _Section_origin,
   const Concurrency::extent<_Rank>& _Section_extent                     
) const restrict(amp,cpu);
                     
array_view section(
   const Concurrency::index<_Rank>& _Idx                     
) const restrict(amp,cpu);
                     
array_view section(
   const Concurrency::extent<_Rank>& _Ext                     
) const restrict(amp,cpu);
                     
array_view section(
   int _I0,
   int _E0                     
) const restrict(amp,cpu);
                     
array_view section(
   int _I0,
   int _I1,
   int _E0,
   int _E1                     
) const restrict(amp,cpu);
                     
array_view section(
   int _I0,
   int _I1,
   int _I2,
   int _E0,
   int _E1,
   int _E2                     
) const restrict(amp,cpu);

_E0

The most significant component of the extent of this section.

_E1

The next-to-most-significant component of the extent of this section.

_E2

The least significant component of the extent of this section.

_Ext

The extent object that specifies the extent of the section. The origin is 0.

_Idx

The index object that specifies the location of the origin. The subsection is the rest of the extent.

_I0

The most significant component of the origin of this section.

_I1

The next-to-most-significant component of the origin of this section.

_I2

The least significant component of the origin of this section.

_Rank

The rank of the section.

_Section_extent

The extent object that specifies the extent of the section.

_Section_origin

The index object that specifies the location of the origin.

A subsection of the array_view object that's at the specified origin and, optionally, that has the specified extent. When only the index object is specified, the subsection contains all elements in the associated extent that have indexes that are larger than the indexes of the elements in the index object.

Header: amp.h

Namespace: Concurrency

Show:
© 2014 Microsoft