STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
Classes | Functions
+ Collaboration diagram for Strided:

Classes

class  stapl::strided_view< BV >
 A view over a container where elements are chosen based on a specified stride. More...
 

Functions

template<typename BV >
strided_view< BV >::type stapl::make_strided_view (BV const &view, typename BV::index_type const &step, typename BV::index_type const &start)
 Takes an input view and creates a strided view over the original view's container. More...
 

Detailed Description

Function Documentation

◆ make_strided_view()

template<typename BV >
strided_view<BV>::type stapl::make_strided_view ( BV const &  view,
typename BV::index_type const &  step,
typename BV::index_type const &  start 
)

Takes an input view and creates a strided view over the original view's container.

Parameters
viewThe view on which to base the strided view.
stepThe step size.
startThe index at which to start striding.