std::complex::operator+(unary), operator-(unary)
Da cppreference.com.
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
template< class T > complex<T> operator+( const complex<T>& val ); |
(1) | |
template< class T > complex<T> operator-( const complex<T>& val ); |
(2) | |
Implementa gli analoghi degli operatori aritmetici unari per numeri complessi.
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.
You can help to correct and verify the translation. Click here for instructions.
1)
Restituisce il valore del suo argomento
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.
You can help to correct and verify the translation. Click here for instructions.
2)
Nega l'argomento
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.
You can help to correct and verify the translation. Click here for instructions.
[modifica] Parametri
val | - | l'argomento numero complesso
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. |
[modifica] Valore di ritorno
1)
una copia della tesi, 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.
You can help to correct and verify the translation. Click here for instructions.
2)
negato argomento, 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.
You can help to correct and verify the translation. Click here for instructions.
[modifica] Vedi anche
esegue aritmetica di numeri complessi su due valori complessi o un complesso e scalari 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. (funzione di modello) |