std::complex
Da 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. |
Definido no cabeçalho <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) | |
As especializações std::complex<float>, std::complex<double>, e std::complex<long double> tipos literais para representar e manipular números complexos.
Original:
The specializations std::complex<float>, std::complex<double>, and std::complex<long double> are literal types for representing and manipulating números complexos.
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.
O efeito de instanciar a
complex
modelo para qualquer outro tipo é indeterminado.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 membro
Tipo de membro
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] Funções de membro
constrói um número complexo 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. (função pública membro) | |
atribui o conteúdo 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. (função pública membro) | |
acessa a parte real do número complexo 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. (função pública membro) | |
accesses the imaginary part of the complex number (função pública membro) | |
atribuição composto de dois números complexos ou um complexo e um 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. (função pública membro) |
[editar] Não-membros funções
aplica operadores unários aos números complexos 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. (modelo de função) | |
executa aritmética de números complexos em dois valores complexos ou um complexo e um 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. (modelo de função) | |
compara dois números complexos ou um complexo e um 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. (modelo de função) | |
serializa e desserializa um número complexo 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. (modelo de função) | |
retorna o 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. (modelo de função) | |
retorna o componente imaginário 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. (modelo de função) | |
retorna a magnitude de um número complexo 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. (modelo de função) | |
retorna o â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. (modelo de função) | |
retorna a magnitude ao quadrado 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. (modelo de função) | |
devolve o complexo 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. (modelo de função) | |
(C++11) |
retorna a projeção para a 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. (modelo de função) |
constrói um número complexo de magnitude e â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. (modelo de função) | |
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 (modelo de função) | |
logaritmo natural complexo com os cortes ao longo do ramo negativo do eixo real 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. (modelo de função) | |
complex common logarithm with the branch cuts along the negative real axis (modelo de função) | |
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. | |
potência complexa, um ou ambos os argumentos pode ser um número complexo 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. (modelo de função) | |
raiz quadrada complexa na gama do semi-plano direito 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. (modelo de função) | |
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 um número complexo (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. (modelo de função) | |
calcula cosseno de um número complexo (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. (modelo de função) | |
calcula tangente de um número complexo (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. (modelo de função) | |
(C++11) |
computes arc sine of a complex number (arcsin(z)) (modelo de função) |
(C++11) |
calcula arco cosseno de um número complexo (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. (modelo de função) |
(C++11) |
computes arc tangent of a complex number (arctan(z)) (modelo de função) |
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 seno hiperbólico de um número complexo (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. (modelo de função) | |
calcula cosseno hiperbólico de um número complexo (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. (modelo de função) | |
computa tangente hiperbólica de um número complexo 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. (modelo de função) | |
(C++11) |
calcula arco seno hiperbólico de um número complexo 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. (modelo de função) |
(C++11) |
calcula hiperbólica arco cosseno de um número complexo 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. (modelo de função) |
(C++11) |
calcula arco tangente hiperbólico de um número complexo 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. (modelo de função) |