◆ enumerate()

Value boost::simd::enumerate ( const ScalarValue &  seed = 0,
const ScalarValue &  step = 1 

Generates a value containing sequentially increasing elements, starting with seed and repetitively evaluating seed+=step.

Header <boost/simd/function/enumerate.hpp>
SIMD Semantic:
For any type T and integral constant N, the following code:
auto r = enumerate<boost::simd::pack<T,N>>(seed, step);
is equivalent to:
boost::simd::pack<T,N> r{seed, seed+step, ..., seed+(N-1)*step};
seedInitial value of store, equals to 0 by default.
stepIncrement to apply on each subsequent generated value, equals to 1 by default.
A value containing the sequence of value generated from seed and step