◆ slide()

template<std::size_t N>
Value boost::simd::slide ( Value const &  x,
Value const &  y 
)

This function object returns a vector extracted from the concatanation of x and y (resp.

x and itself when only one argument is given).

Header <boost/simd/function/slide.hpp>
Semantic:

Denote by L the common length of x and y. Let c[i] = x[i] and c[i + L] = y[i]. If N is positive then returns (c[N], c[N + 1], ..., c[N + L - 1]) If N + L - 1 >= 2L then returns (c[N], c[N + 1], ..., C[2L - 1], 0, ..., 0).

If N is negative then

Value r = slide<N>(x, y);

is equivalent to

Value r = slide<L - N>(x, y);