◆ deinterleave_first()

Value boost::simd::deinterleave_first ( Value const &  x,
Value const &  y 
)

This function object performs the extraction of the first part of a boost::simd::pack containing two channels of data.

Header <boost/simd/function/deinterleave_first.hpp>
Semantic:
For any type T and any integral constant N greater than 1, let's consider two values x and y of type boost::simd::pack<T,N> , the following code: is equivalent to :
boost::simd::pack<T,N> r{x[0], x[2], ..., x[N/2], y[0], y[2], ...,y[N/2]};
Parameters
xFirst part of the data to deinterleave
ySecond part of the data to deinterleave
Returns
A boost::simd::pack containing the deinterleaved value of the first data channel.