template<std::size_t Index, typename Value >
 Value boost::simd::broadcast ( Value const & v )

Returns a boost::simd::pack filled with the value of the N th value of its argument.

Scalar Semantic:
For any value v of type T and any integral constant I, the following code:

is equivalent to:

T r = I == 0 ? static_cast<T>(v) : T{0};
SIMD Semantic:
For any type T and any integral constants N and I, the following code:
A boost::simd::pack filled with the Index value of v