C++ Library - <numeric>



Introduction

It is used to generalized numeric operations and this header describes a set of algorithms to perform certain operations on sequences of numeric values. In C++, It includes common mathematical functions and types, as well as optimized numeric arrays and support for random number generation.

Functions

Sr.No.Function & description
1accumulate

It is used accumulate values in range.

2adjacent_difference

It is used to compute adjacent difference of range.

3inner_product

It is used to compute cumulative inner product of range.

4partial_sum

It is used to compute partial sums of range.

5iota

It is used to store increasing sequence.

Advertisements
close