NFloat.Hypot(NFloat, NFloat) Metod

Definition

Beräknar hypotenuse med två värden som representerar längden på de kortare sidorna i en högervinklad triangel.

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

Parametrar

x
NFloat

Värdet i kvadrat och lägg till i y.

y
NFloat

Värdet i kvadrat och lägg till i x.

Returer

Kvadratroten av x-squared plus y-squared.

Implementeringar

Gäller för