cpp/numeric/complex/operator arith2: differenze tra le versioni
Da cppreference.com.
P12 (Discussione | contributi) m (una revisione importata: Translate from the English version) |
m (r2.7.3) (Bot: Aggiungo de, en, es, fr, ja, pt, ru, zh) |
||
Riga 30: | Riga 30: | ||
{{dcl list template | cpp/numeric/complex/dcl list operator_arith3}} | {{dcl list template | cpp/numeric/complex/dcl list operator_arith3}} | ||
{{dcl list end}} | {{dcl list end}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ |
Versione delle 23:49, 2 nov 2012
![]() |
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.
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. |
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.