◐ Shell
clean mode source ↗

std::complex — cppreference.com

<tbody> </tbody>

Déclaré dans l'en-tête

<complex>

template< class T > class complex; //non définie

(1)

template<> class complex<float>;

(2)

template<> class complex<double>;

(3)

template<> class complex<long double>;

(4)

Les spécialisations de templates std::complex<float>, std::complex<double> et std::complex<long double> sont des types littéraux permettant de représenter et manipuler des nombres complexes.

Le résultat de l'instanciation d'un complex pour n'importe quel autre type n'est pas spécifié.

Types membres

Type membre Définition
value_type T

Fonctions membres

construit un nombre complexe
(fonction membre publique)

affecte le contenu

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.


(fonction membre publique) [edit]

accède à la partie réelle du nombre complexe

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.


(fonction membre publique) [edit]

accède à la partie imaginaire du nombre complexe

Original:

accesses the imaginary 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.


(fonction membre publique) [edit]

assignation composée de deux nombres complexes ou un complexe et un scalaire

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.


(fonction membre publique) [edit]

Fonctions tiers

s'applique opérateurs unaires aux nombres complexes

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.


(fonction générique) [edit]

effectue l'arithmétique sur les nombres complexes deux valeurs complexes ou d'un complexe et un scalaire

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.


(fonction générique) [edit]

compare deux nombres complexes ou un complexe et un scalaire

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.


(fonction générique) [edit]

sérialise et désérialise un nombre complexe

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.


(fonction générique) [edit]

retourne le composant réel

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.


(fonction générique) [edit]

renvoie la partie imaginaire

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.


(fonction générique) [edit]

renvoie l'amplitude d'un nombre complexe

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.


(fonction générique) [edit]

renvoie l'angle de phase

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.


(fonction générique) [edit]

retourne la norme au carré

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.


(fonction générique) [edit]

retourne le conjugué complexe

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.


(fonction générique) [edit]

(C++11)

renvoie la projection sur la sphère 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.


(fonction générique) [edit]

construit un nombre complexe de magnitude et de l'angle de phase

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.


(fonction générique) [edit]
Fonctions exponentielles
complex base e exponential
(fonction générique) [edit]

complexe logarithme naturel avec les coupures de ramification le long de l'axe réel négatif

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.


(fonction générique) [edit]

complexe logarithme commun avec les coupures de ramification le long de l'axe réel négatif

Original:

complex common 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.


(fonction générique) [edit]
Fonctions puissance

puissance complexe, une ou deux arguments peut être un nombre complexe

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.


(fonction générique) [edit]

complexe racine carrée de l'ordre de la demi-plan droit

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.


(fonction générique) [edit]
Fonctions trigonométriques

calcule sinus d'un nombre complexe (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.


(fonction générique) [edit]

calcule le cosinus d'un nombre complexe (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.


(fonction générique) [edit]

calcule la tangente d'un nombre complexe (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.


(fonction générique) [edit]

calcule arc sinus d'un nombre complexe (arcsin(z))

Original:

computes arc sine of a complex number (arcsin(z))

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

calcule l'arc cosinus d'un nombre complexe (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.


(fonction générique) [edit]

calcule arc tangente d'un nombre complexe (arctan(z))

Original:

computes arc tangent of a complex number (arctan(z))

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]
Fonctions hyperboliques

calcule sinus hyperbolique d'un nombre complexe (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.


(fonction générique) [edit]

calcule le cosinus hyperbolique d'un nombre complexe (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.


(fonction générique) [edit]

calcule la tangente hyperbolique d'un nombre complexe

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.


(fonction générique) [edit]

arc sinus hyperbolique calcule d'un nombre complexe

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.


(fonction générique) [edit]

calcule l'arc cosinus hyperbolique d'un nombre complexe

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.


(fonction générique) [edit]

calcule la tangente d'arc hyperbolique d'un nombre complexe

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.


(fonction générique) [edit]