◐ Shell
clean mode source ↗

std::complex::operator+(unary), operator-(unary) – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

template< class T > complex<T> operator+( const complex<T>& val );

(1)

template< class T > complex<T> operator-( const complex<T>& val );

(2)

Implementiert die Analoga der unären arithmetischen Operatoren für komplexe Zahlen .

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)

Gibt den Wert des Arguments

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)

Negiert das Argument

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.

Parameter

val -

die komplexe Zahl Argument

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.

Rückgabewert

1)

eine Kopie des Arguments, 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)

negiert Argument 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.

Siehe auch

führt komplexe Zahl Arithmetik auf zwei komplexe Werte oder eine komplexe und einem Skalar

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.


(Funktions-Template) [edit]