共用方式為


IRootFunctions<TSelf>.Hypot(TSelf, TSelf) 方法

定義

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

public:
 static TSelf Hypot(TSelf x, TSelf y);
public static abstract TSelf Hypot (TSelf x, TSelf y);
static member Hypot : 'Self * 'Self -> 'Self
Public Shared Function Hypot (x As TSelf, y As TSelf) As TSelf

參數

x
TSelf

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

y
TSelf

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

傳回

TSelf

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

適用於