C++ Library - <numeric>


Advertisements

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
1 accumulate

It is used accumulate values in range.

2 adjacent_difference

It is used to compute adjacent difference of range.

3 inner_product

It is used to compute cumulative inner product of range.

4 partial_sum

It is used to compute partial sums of range.

5 iota

It is used to store increasing sequence.

Advertisements