◆ repeat_lower_half()

Value boost::simd::repeat_lower_half ( Value const &  x)

Repeat the lower half of a vector.

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

For every parameter of type T

is similar to:

T r;
const std::size_t middle = meta::cardinal_of<A0>::value/2;
for(std::size_t i=0;i<middle;++i)
{
r[i] = r[i+middle] = x[i];
}