English 中文(简体)
C++ Library - <numeric>
  • 时间:2024-09-08

C++ Library - <numeric>


Previous Page Next Page  

Introduction

It is used to generapzed 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