File: xsimd_batch_complex.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 (29 lines) | stat: -rw-r--r-- 836 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
.. 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 Complex Numbers
========================

.. doxygenclass:: xsimd::batch< std::complex< T >, A >
   :project: xsimd
   :members:

Operations Specific to Batches of Complex Numbers
-------------------------------------------------

.. doxygengroup:: batch_complex
   :project: xsimd
   :content-only:

XTL Complex Support
-------------------

If the preprocessor token ``XSIMD_ENABLE_XTL_COMPLEX`` is defined, ``xsimd``
provides constructors of ``xsimd::batch< std::complex< T >, A >`` from
``xtl::xcomplex``, similar to those for ``std::complex``.  This requires `XTL`_
to be installed.

.. _XTL: https://github.com/xtensor-stack/xtl