std::complex
De cppreference.com
<tbody>
</tbody>
| Dclar dans l'en-tte <complex>
|
||
template< class T > class complex; //non dfinie |
(1) | |
template<> class complex<float>; |
(2) | |
template<> class complex<double>; |
(3) | |
template<> class complex<long double>; |
(4) | |
Les spcialisations de templates std::complex<float>, std::complex<double> et std::complex<long double> sont des types littraux permettant de reprsenter et manipuler des nombres complexes.
Le rsultat de l'instanciation d'un complex pour n'importe quel autre type n'est pas spcifi.
Types membres
| Type membre | Dfinition |
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) | |
accde la partie relle 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) | |
accde 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 compose 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) | |
Fonctions tiers
s'applique oprateurs 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 gnrique) | |
effectue l'arithmtique 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 gnrique) | |
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 gnrique) | |
srialise et dsrialise 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 gnrique) | |
retourne le composant rel 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 gnrique) | |
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 gnrique) | |
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 gnrique) | |
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 gnrique) | |
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 gnrique) | |
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 gnrique) | |
(C++11) |
renvoie la projection sur la sphre 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 gnrique) |
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 gnrique) | |
Fonctions exponentielles | |
| complex base e exponential (fonction gnrique) | |
complexe logarithme naturel avec les coupures de ramification le long de l'axe rel ngatif 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 gnrique) | |
complexe logarithme commun avec les coupures de ramification le long de l'axe rel ngatif 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 gnrique) | |
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 gnrique) | |
complexe racine carre 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 gnrique) | |
Fonctions trigonomtriques | |
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 gnrique) | |
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 gnrique) | |
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 gnrique) | |
(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 gnrique) |
(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 gnrique) |
(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 gnrique) |
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 gnrique) | |
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 gnrique) | |
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 gnrique) | |
(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 gnrique) |
(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 gnrique) |
(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 gnrique) |