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 numbers
(class template)

[edit] Numeric arrays

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

[edit] Generic numeric operations

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

[edit] Pseudo-random number generation

[edit] Compile time rational arithmetic (since C++11)