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

除以 的y反正切函數,除以 pix

備註

arctan(y / x) / π這會以間隔 [-1, +1]計算。

適用於