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

Reducing functions
==================

**xtensor** provides the following reducing functions for xexpressions:

Defined in ``xtensor/xmath.hpp``

.. _sum-function-reference:
.. doxygenfunction:: sum(E&&, X&&)
   :project: xtensor

.. _prod-function-reference:
.. doxygenfunction:: prod(E&&, X&&)
   :project: xtensor

.. _mean-function-reference:
.. doxygenfunction:: mean(E&&, X&&)
   :project: xtensor

