Partager via


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

checked_adjacent_difference

Same as adjacent_difference, but enforces the use of a checked iterator on the output iterator.

checked_partial_sum

Same as partial_sum, but enforces the use of a checked iterator on the output iterator.

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.

unchecked_adjacent_difference

Same as adjacent_difference, but allows the use of an unchecked iterator as output iterator when _SECURE_SCL=1 is defined.

unchecked_partial_sum

Same as partial_sum, but allows the use of an unchecked iterator as output iterator when _SECURE_SCL=1 is defined.

See Also

Concepts

<numeric>

Thread Safety in the Standard C++ Library

Standard Template Library