Поделиться через


<numeric> Members

Reference

Functions

accumulate

Computes the sum of all the elements in a specified range including some initial value by computing successive partial sums or computes the result of successive partial results similarly obtained from using a specified binary operation other than the sum.

adjacent_difference

Computes the successive differences between each element and its predecessor in an input range and outputs the results to a destination range or computes the result of a generalized procedure where the difference operation is replaced by another, specified binary operation.

inner_product

Computes the sum of the element-wise product of two ranges and adds it to a specified initial value or computes the result of a generalized procedure where the sum and product binary operations are replaced by other specified binary operations.

partial_sum

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.

See Also

Reference

<numeric>

Thread Safety in the Standard C++ Library

Standard Template Library

Change History

Date

History

Reason

January 2011

Removed checked_adjacent_difference, checked_partial_sum, unchecked_adjacent_difference, and unchecked_partial_sum. These methods are not found in Visual C++ 2010.

Content bug fix.