◆ slice_high()

Value0 boost::simd::slice_high ( Value1 const &  x)

Type-preserving pack higher slicing.

This function object returns the lower slice of a simd::pack, i.e a simd::pack of same type containing the higher half of its argument.

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

For any value a of type T and cardinal N, the following code:

pack<T,N/2> c = slice_high(a);

is equivalent to

pack<T,N/2> c( a[N/2], ..., a[N-1]);
See also
slice, slice_low, combine