std::complex
De cppreference.com
![]() |
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. |
Defined in header <complex>
|
||
template< class T > class complex; //not defined |
(1) | |
template<> class complex<float>; |
(2) | |
template<> class complex<double>; |
(3) | |
template<> class complex<long double>; |
(4) | |
Las especializaciones std::complex<float>, std::complex<double> y std::complex<long double> tipos literales para representar y manipular números complejos .
Original:
The specializations std::complex<float>, std::complex<double>, and std::complex<long double> are literal types for representing and manipulating números complejos.
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.
El efecto de crear una instancia del
complex
plantilla para cualquier otro tipo no está especificado .Original:
The effect of instantiating the template
complex
for any other type is unspecified.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] Tipos de miembros
Miembro de tipo
Original: Member type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
value_type
|
T
|
[editar] Las funciones miembro
construye un número complejo Original: constructs a complex number The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) | |
asigna el contenido Original: assigns the contents The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) | |
accede a la parte real del número complejo Original: accesses the real part of the complex number The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) | |
accesses the imaginary part of the complex number (miembro público función) | |
compuesto asignación de dos números complejos o un complejo y un escalar Original: compound assignment of two complex numbers or a complex and a scalar The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) |
[editar] Terceros funciones
aplica a los operadores unarios números complejos Original: applies unary operators to complex numbers 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) | |
realiza la aritmética de números complejos en dos valores complejos o complejos a escalar Original: performs complex number arithmetics on two complex values or a complex and a scalar 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) | |
compara dos números complejos o un complejo y un escalar Original: compares two complex numbers or a complex and a scalar 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) | |
serializa y deserializa un número complejo Original: serializes and deserializes a complex number 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) | |
devuelve el componente real Original: returns the real component 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) | |
devuelve el componente imaginario Original: returns the imaginary component 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) | |
devuelve la magnitud de un número complejo Original: returns the magnitude of a complex number 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) | |
devuelve el ángulo de fase Original: returns the phase angle 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) | |
devuelve la magnitud al cuadrado Original: returns the squared magnitude 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) | |
devuelve el conjugado Original: returns the complex conjugate 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) | |
(C++11) |
devuelve la proyección sobre la esfera de Riemann Original: returns the projection onto the Riemann sphere 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) |
construye un número complejo de magnitud y ángulo de fase Original: constructs a complex number from magnitude and phase angle 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) | |
Original: Exponential functions The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
complex base e exponential (función de plantilla) | |
logaritmo natural complejo con los recortes de sucursales a lo largo del eje real negativo Original: complex natural logarithm with the branch cuts along the negative real axis 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) | |
complex common logarithm with the branch cuts along the negative real axis (función de plantilla) | |
Original: Power functions The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
potencia compleja, uno o ambos argumentos puede ser un número complejo Original: complex power, one or both arguments may be a complex number 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) | |
raíz cuadrada complejo en el intervalo de la derecha del plano medio Original: complex square root in the range of the right half-plane 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) | |
Original: Trigonometric functions The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
calcula seno de un número complejo (sin(z)) Original: computes sine of a complex number (sin(z)) 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 coseno de un número complejo (cos(z)) Original: computes cosine of a complex number (cos(z)) 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 tangente de un número complejo (tan(z)) Original: computes tangent of a complex number (tan(z)) 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) | |
(C++11) |
computes arc sine of a complex number (arcsin(z)) (función de plantilla) |
(C++11) |
calcula arco coseno de un número complejo (arccos(z)) Original: computes arc cosine of a complex number (arccos(z)) 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) |
(C++11) |
computes arc tangent of a complex number (arctan(z)) (función de plantilla) |
Original: Hyperbolic functions The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
Calcula el seno hiperbólico de un número complejo (sh(z)) Original: computes hyperbolic sine of a complex number (sh(z)) 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 coseno hiperbólico de un número complejo (ch(z)) Original: computes hyperbolic cosine of a complex number (ch(z)) 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 tangente hiperbólica de un número complejo Original: computes hyperbolic tangent of a complex number 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) | |
(C++11) |
calcula arcoseno hiperbólico de un número complejo Original: computes hyperbolic arc sine of a complex number 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) |
(C++11) |
calcula arco coseno hiperbólico de un número complejo Original: computes hyperbolic arc cosine of a complex number 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) |
(C++11) |
calcula arcotangente hiperbólica de un número complejo Original: computes hyperbolic arc tangent of a complex number 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) |