NFloat.Atan2(NFloat, NFloat) 方法

定義

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

public:
 static System::Runtime::InteropServices::NFloat Atan2(System::Runtime::InteropServices::NFloat y, System::Runtime::InteropServices::NFloat x) = System::Numerics::IFloatingPointIeee754<System::Runtime::InteropServices::NFloat>::Atan2;
public static System.Runtime.InteropServices.NFloat Atan2 (System.Runtime.InteropServices.NFloat y, System.Runtime.InteropServices.NFloat x);
static member Atan2 : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function Atan2 (y As NFloat, x As NFloat) As NFloat

參數

y
NFloat

點的 Y 座標。

x
NFloat

點的 X 座標。

傳回

x以的y反正切值。

實作

備註

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

適用於