Complex.Add(Complex, Complex) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Ajoute deux nombres complexes et retourne le résultat.
public:
static System::Numerics::Complex Add(System::Numerics::Complex left, System::Numerics::Complex right);
public static System.Numerics.Complex Add(System.Numerics.Complex left, System.Numerics.Complex right);
static member Add : System.Numerics.Complex * System.Numerics.Complex -> System.Numerics.Complex
Public Shared Function Add (left As Complex, right As Complex) As Complex
Paramètres
- left
- Complex
Premier nombre complexe à ajouter.
- right
- Complex
Deuxième nombre complexe à ajouter.
Retours
Somme de left et right.
Remarques
L’ajout d’un nombre complexe, a + biet d’un deuxième nombre complexe, c + diprend la forme suivante :
$(a + c) + (b + d)i$