File: basic_functions.rst

package info (click to toggle)
xtensor 0.25.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,476 kB
  • sloc: cpp: 65,302; makefile: 202; python: 171; javascript: 8
file content (36 lines) | stat: -rw-r--r-- 828 bytes parent folder | download
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
33
34
35
36
.. Copyright (c) 2016, Johan Mabille, Sylvain Corlay and Wolf Vollprecht

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

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

Basic functions
===============

**xtensor** provides the following basic functions for xexpressions and scalars:

Defined in ``xtensor/xmath.hpp``

.. doxygenfunction:: abs(E&&)

.. doxygenfunction:: fabs(E&&)

.. doxygenfunction:: fmod(E1&&, E2&&)

.. doxygenfunction:: remainder(E1&&, E2&&)

.. doxygenfunction:: fma(E1&&, E2&&, E3&&)

.. doxygenfunction:: maximum(E1&&, E2&&)

.. doxygenfunction:: minimum(E1&&, E2&&)

.. doxygenfunction:: fmax(E1&&, E2&&)

.. doxygenfunction:: fmin(E1&&, E2&&)

.. doxygenfunction:: fdim(E1&&, E2&&)

.. doxygenfunction:: clip(E1&&, E2&&, E3&&)

.. doxygenfunction:: sign(E&&)