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的值。

返回

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

实现

适用于