Numerics library

From Cppreference

< cpp
Jump to: navigation, search

Contents

[edit] Common mathematical functions

[edit] Floating-point environment

[edit] Complex numbers

Defined in header <complex>
complex
complex numbers
(class template)

[edit] Numeric arrays

Defined in header <valarray>
valarray
numeric arrays and array slices
(class template)

[edit] Pseudo-random number generation

[edit] Generic numeric operations

Defined in header <numeric>
iota (C++11)
fills a range with successive increments of the starting value
(function template)
accumulate
sums up a range of elements
(function template)
inner_product
computes the inner product of two ranges of elements
(function template)
adjacent_difference
computes the differences between adjacent elements in a range
(function template)
partial_sum
computes the partial sum of a range of elements
(function template)