1.. Copyright (c) 2016, Johan Mabille, Sylvain Corlay and Wolf Vollprecht 2 3 Distributed under the terms of the BSD 3-Clause License. 4 5 The full license is in the file LICENSE, distributed with this software. 6 7Accumulating functions 8====================== 9 10**xtensor** provides the following accumulating functions for xexpressions: 11 12Defined in ``xtensor/xmath.hpp`` 13 14.. _cumsum-function-reference: 15.. doxygenfunction:: cumsum(E&&) 16 :project: xtensor 17 18.. doxygenfunction:: cumsum(E&&, std::ptrdiff_t) 19 :project: xtensor 20 21.. _cumprod-function-reference: 22.. doxygenfunction:: cumprod(E&&) 23 :project: xtensor 24 25.. doxygenfunction:: cumprod(E&&, std::ptrdiff_t) 26 :project: xtensor