NFloat.Hypot(NFloat, NFloat) 方法

定義

計算假設有兩個值,代表右角三角形中較短側邊的長度。

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

參數

x
NFloat

要正方形的值,並新增至 y

y
NFloat

要正方形的值,並新增至 x

傳回

平方加y平方的x平方根。

實作

適用於