.. doxygenstruct:: xsimd::batch_constant :project: xsimd :members:
.. doxygenstruct:: xsimd::batch_bool_constant :project: xsimd :members:
.. doxygenfunction:: xsimd::make_batch_constant :project: xsimd
.. doxygenfunction:: xsimd::make_batch_bool_constant :project: xsimd
Note
:cpp:func:`make_batch_constant` and :cpp:func:`make_batch_bool_constant` also accept a scalar value instead of a generator. In that case, that value is broadcast to each slot of the constant batch.