Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at partial_sum (STL/CLR).
Computes a series of sums in an input range from the first element through the ith element and stores the result of each such sum in ith element of a destination range or computes the result of a generalized procedure where the sum operation is replaced by another specified binary operation.
Syntax
template<class _InIt, class _OutIt> inline
_OutIt partial_sum(_InIt _First, _InIt _Last, _OutIt _Dest);
template<class _InIt, class _OutIt, class _Fn2> inline
_OutIt partial_sum(_InIt _First, _InIt _Last,
_OutIt _Dest, _Fn2 _Func);
Remarks
This function behaves the same as the STL numeric function partial_sum. For more information, see partial_sum.
Requirements
Header: <cliext/numeric>
Namespace: cliext