◆ slice_low()

ValueO boost::simd::slice_low ( Value1 const &  x)

Type-preserving pack lower slicing.

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

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

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

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

is equivalent to

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