NFloat.Hypot(NFloat, NFloat) Méthode

Définition

Calcule l’hypotenuse donnée deux valeurs représentant les longueurs des côtés les plus courts dans un triangle à angle droit.

public:
 static System::Runtime::InteropServices::NFloat Hypot(System::Runtime::InteropServices::NFloat x, System::Runtime::InteropServices::NFloat y) = System::Numerics::IRootFunctions<System::Runtime::InteropServices::NFloat>::Hypot;
public static System.Runtime.InteropServices.NFloat Hypot (System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y);
static member Hypot : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function Hypot (x As NFloat, y As NFloat) As NFloat

Paramètres

x
NFloat

Valeur à carréer et à ajouter à y.

y
NFloat

Valeur à carréer et à ajouter à x.

Retours

Racine carrée de x-squared plus y-squared.

Implémente

S’applique à