NFloat.Hypot(NFloat, NFloat) Methode

Definition

Berechnet die Hypotenuse unter Angabe von zwei Werten, die die Längen der kürzeren Seiten in einem rechtwinkligen Dreieck darstellen.

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

Parameter

x
NFloat

Der Wert, der quadratisch und hinzugefügt werden soll y.

y
NFloat

Der Wert, der quadratisch und hinzugefügt werden soll x.

Gibt zurück

Die Quadratwurzel von x-squared plus y-squared.

Implementiert

Gilt für: