IFloatingPointIeee754<TSelf>.Atan2Pi(TSelf, TSelf) 方法

定义

计算两个值的商的反正切值,并将结果除以 pi

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

参数

y
TSelf

点的 y 坐标。

x
TSelf

点的 x 坐标。

返回

TSelf

除以 xy反正切值,除以 pi

注解

这在间隔 [-1, +1]中计算arctan(y / x) / π

适用于