Numerics library
Da 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. |
O C + + numéricos biblioteca inclui funções matemáticas comuns e tipos, bem como otimizados matrizes numéricas e suporte para geração de números aleatórios.
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.
Índice |
[editar] Funções matemáticas comuns
O cabeçalho
cmath
fornece C padrão biblioteca de funções matemáticas como std::fabs, std::sqrt e std::sin.Original:
The header
cmath
provides C padrão biblioteca de funções matemáticas 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.
[editar] Números complexos
Defined in header
<complex> | |
um tipo de número complexo 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. (modelo de classe) |
[editar] Matrizes numéricas
Defined in header
<valarray> | |
matrizes numéricas e fatias de matriz 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. (modelo de classe) |
[editar] Genéricos operações numéricas
Defined in header
<numeric> | |
(C++11) |
preenche um intervalo com incrementos sucessivos do valor de partida 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. (modelo de função) |
resume uma série de elementos 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. (modelo de função) | |
calcula o produto interno de duas gamas de elementos 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. (modelo de função) | |
calcula as diferenças entre elementos adjacentes em forma de intervalo 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. (modelo de função) | |
calcula a soma parcial de um conjunto de elementos 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. (modelo de função) |
[editar] Pseudo-aleatório de geração de números
O cabeçalho
random
define pseudo-aleatórios geradores de números e distribuições numéricas. O cstdlib
cabeçalho também inclui C-estilo geração de números aleatórios através std::srand e std::rand.Original:
The header
random
defines pseudo-aleatórios geradores de números e distribuições numéricas. 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.
[editar] Compilar hora aritmética racional (desde C++11)
O cabeçalho
ratio
fornece tipos e funções para a manipulação e armazenamento em tempo de compilação proporções.Original:
The header
ratio
provides tipos e funções para a manipulação e armazenamento em tempo de compilação proporções.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.
[editar] De ponto flutuante ambiente
O cabeçalho
fenv
define sinalizadores e funções relacionados com o estado de ponto flutuante excepcional, como estouro e divisão por zero.Original:
The header
fenv
defines sinalizadores e funções relacionados com o estado de ponto flutuante excepcional, 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.