◆ interleave_first()

Value boost::simd::interleave_first ( Value const &  x,
Value const &  y 

This function object computes a vector from a combination of the two inputs.

Header <boost/simd/function/interleave_first.hpp>

For every parameters of types respectively T, the following code:

T r = interleave_first(x, y);

is equivalent to :

r = [ x[0] y[0] x[1] y[1] ... x[n/2-1] y[n/2-1] ]

with n = cardinal_of<T>::value