Numerics library
De cppreference.com
< cpp
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Le C + + valeurs numériques bibliothèque comprend les fonctions mathématiques courantes et types, ainsi que les tableaux numériques optimisés et de soutien pour la génération de nombres aléatoires .
Original:
The C++ numerics library includes common mathematical functions and types, as well as optimized numeric arrays and support for random number generation.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Sommaire |
[modifier]Fonctions mathématiques courantes
L'en-tête fournit
cmath
bibliothèque C standard des fonctions mathématiques comme std::fabs, std::sqrt et std::sin .Original:
The header
cmath
provides bibliothèque C standard des fonctions mathématiques such as std::fabs, std::sqrt, and std::sin.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[modifier]Nombres complexes
Defined in header <complex> | |
un type nombre complexe Original: a complex number type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe générique) |
[modifier]Tableaux numériques
Defined in header <valarray> | |
tableaux numériques et des tranches de tableau Original: numeric arrays and array slices The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe générique) |
[modifier]Génériques des opérations numériques
Defined in header <numeric> | |
(C++11) | remplit une série de tranches successives de la valeur de départ Original: fills a range with successive increments of the starting value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction générique) |
résume un ensemble d'éléments Original: sums up a range of elements The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction générique) | |
calcule le produit scalaire de deux gammes d'éléments Original: computes the inner product of two ranges of elements The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction générique) | |
calcule les différences entre les éléments adjacents dans une gamme Original: computes the differences between adjacent elements in a range The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction générique) | |
calcule la somme partielle d'une série d'éléments Original: computes the partial sum of a range of elements The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction générique) |
[modifier]La génération de nombres pseudo-aléatoires
L'en-tête définit
random
des générateurs de nombres pseudo-aléatoires et les distributions numériques. Le cstdlib
tête inclut également C-style génération de nombres aléatoires via std::srand et std::rand .Original:
The header
random
defines des générateurs de nombres pseudo-aléatoires et les distributions numériques. The header cstdlib
also includes C-style random number generation via std::srand and std::rand.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[modifier]Compiler arithmétique rationnelle du temps (depuis C++11)
L'en-tête fournit
ratio
types et les fonctions de manipulation et de stockage à la compilation des rapports .Original:
The header
ratio
provides types et les fonctions de manipulation et de stockage à la compilation des rapports.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[modifier]Virgule flottante environnement
L'en-tête définit
fenv
drapeaux et les fonctions liées à virgule flottante exceptionnelle de l'État, par exemple en cas de débordement et la division par zéro .Original:
The header
fenv
defines drapeaux et les fonctions liées à virgule flottante exceptionnelle de l'État, such as overflow and division by zero.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.