.. 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/core/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&&)
