◆ reverse()

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

Function object implementing reverse.

Returns a vector containing the value of its argument in reverse order.

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

For every parameter of type T

T r = reverse(x);

is similar to:

T r;
for(size_t i=0;i<cardinal_of<T>;++i)
r[i] = x[cardinal_of<T>-i-1];