File: xsimd_batch_constant.rst

package info (click to toggle)
xsimd 14.0.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 3,256 kB
  • sloc: cpp: 41,584; sh: 547; makefile: 190; python: 117
file content (32 lines) | stat: -rw-r--r-- 776 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.. Copyright (c) 2016, Johan Mabille, Sylvain Corlay

   Distributed under the terms of the BSD 3-Clause License.

   The full license is in the file LICENSE, distributed with this software.

Batch of Constants
==================

.. _xsimd-batch-constant-ref:

.. 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.