NFloat.Hypot(NFloat, NFloat) メソッド

定義

直角三角形の短辺の長さを表す 2 つの値を指定して、低辺を計算します。

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

2 乗する値を に追加します y

y
NFloat

2 乗する値を に追加します x

戻り値

-squared と y-squared の平方根x

実装

適用対象