共用方式為


Half.Atan2Pi(Half, Half) 方法

定義

計算兩個值商的反正切值,並將結果除以 pi

public:
 static Half Atan2Pi(Half y, Half x) = System::Numerics::ITrigonometricFunctions<Half>::Atan2Pi;
public static Half Atan2Pi (Half y, Half x);
static member Atan2Pi : Half * Half -> Half
Public Shared Function Atan2Pi (y As Half, x As Half) As Half

參數

y
Half
x
Half

傳回

Half

除以 的反正切值 y ,除以pix

實作

System.Numerics.ITrigonometricFunctions`1.Atan2Pi(`0,`0)

備註

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

適用於