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. |
El C + + numéricos biblioteca incluye funciones matemáticas comunes y tipos, así como optimizados matrices numéricas y de apoyo para la generación de números aleatorios .
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.
Contenido |
[editar] Funciones matemáticas comunes
La cabecera
cmath
proporciona biblioteca estándar C funciones matemáticas como std::fabs, std::sqrt, y std::sin .Original:
The header
cmath
provides biblioteca estándar C funciones 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] Los números complejos
Defined in header
<complex> | |
un tipo de número complejo 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. (clase de plantilla) |
[editar] Matrices numéricas
Defined in header
<valarray> | |
matrices numéricas y las rebanadas 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. (clase de plantilla) |
[editar] Genéricos operaciones numéricas
Defined in header
<numeric> | |
(C++11) |
llena un rango con incrementos sucesivos del mismo 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. (función de plantilla) |
resume una serie 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. (función de plantilla) | |
calcula el producto interno de dos rangos 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. (función de plantilla) | |
calcula las diferencias entre elementos adyacentes en un rango 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. (función de plantilla) | |
calcula la suma parcial de una serie 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. (función de plantilla) |
[editar] Pseudo-aleatoria de generación de números
La cabecera
random
define pseudo-generadores de números aleatorios y distribuciones numéricas. El cstdlib
encabezado incluye también al estilo de C a través de la generación de números aleatorios std::srand y std::rand .Original:
The header
random
defines pseudo-generadores de números aleatorios y distribuciones 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 aritmética tiempo racional (desde C++11)
La cabecera
ratio
proporciona tipos y funciones para la manipulación y almacenamiento en tiempo de compilación proporciones .Original:
The header
ratio
provides tipos y funciones para la manipulación y almacenamiento en tiempo de compilación proporciones.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] Floating-point medio ambiente
El encabezado define
fenv
banderas y las funciones relacionadas con el excepcional estado de coma flotante, como desbordamiento y la división por cero .Original:
The header
fenv
defines banderas y las funciones relacionadas con el excepcional estado de coma flotante, 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.