std::complex::operator+(unary), operator-(unary) - cppreference.com
Espaços nominais
Variantes
Ações

std::complex::operator+(unary), operator-(unary)

De cppreference.com

<metanoindex/>

 
 
Biblioteca numéricos
Funções matemáticas comuns
De ponto flutuante ambiente
Números complexos
Matrizes numéricas
Pseudo-aleatório de geração de números
Tempo de compilação aritmética racional (C++11)
Genéricos operações numéricas
Original:
Generic numeric operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
 
Números complexos
Funções de membro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
complex::complex
complex::operator=
complex::real
complex::imag
complex::operator+=
complex::operator-=
complex::operator*=
complex::operator/=
Não-membros funções
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
Funções exponenciais
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.
Funções de poder
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.
Funções trigonométricas
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.
(C++11)
(C++11)
(C++11)
Funções hiperbólicas
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.
(C++11)
(C++11)
(C++11)
 
<tbody> </tbody>
template< class T > complex<T> operator+( const complex<T>& val );
(1)
template< class T > complex<T> operator-( const complex<T>& val );
(2)
Implementa os análogos dos operadores aritméticos unários para números complexos.
Original:
Implements the analogs of the unary arithmetic operators for complex numbers.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
Retorna o valor de seu argumento
Original:
Returns the value of its argument
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Nega o argumento
Original:
Negates the argument
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parâmetros

val -
o argumento número complexo
Original:
the complex number argument
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valor de retorno

1)
uma cópia do argumento, complex<T>(val)
Original:
a copy of the argument, complex<T>(val)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
negada argumento complex<T>(-val.real(), -val.imag())
Original:
negated argument, complex<T>(-val.real(), -val.imag())
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Veja também