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

定義

計算兩個值商的反正切值。

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

參數

y
TSelf

點的 Y 座標。

x
TSelf

點的 X 座標。

傳回

TSelf

除以的yx反正切值。

備註

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

適用於