std::complex
De cppreference.com
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<longdouble>; | (4) | |
Les spécialisations de templates std::complex<float>, std::complex<double> et std::complex<longdouble> 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é.
Sommaire |
[modifier]Types membres
Type membre | Définition |
value_type | T |
[modifier]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) | |
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) | |
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) | |
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) |
[modifier]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) | |
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) | |
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) | |
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) | |
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) | |
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) | |
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) | |
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) | |
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) | |
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) | |
(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) |
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) | |
Fonctions exponentielles | |
complex base e exponential (fonction générique) | |
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) | |
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) | |
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) | |
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) | |
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) | |
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) | |
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) | |
(C++11) | 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) |
(C++11) | 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) |
(C++11) | 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) |
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) | |
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) | |
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) | |
(C++11) | 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) |
(C++11) | 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) |
(C++11) | 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) |